{"uid":"cap_AChV_eYSBVjzkg1srmsdO","slug":"arkham-x402-websocket-session-info-558a28e3","name":"Arkham x402 WebSocket Session Info","description":"Get Arkham WebSocket pricing info. $0.20 per call.","url":"https://api.arkm.com/x402/ws/session-info","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}]}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema"}}}}},"responseSchema":{"type":"json","example":{"nextRenewalDate":"2026-08-19T00:00:00Z","creditPerSession":500,"creditPerTransfer":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E_Pz6pv3g1LHRDCZJnzXl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves current WebSocket session details for an Arkham x402 subscription, including renewal date and per-session/per-transfer credit allocations.","exampleAgentPrompt":"Check my Arkham x402 WebSocket session info — I want to know my credit per session, credit per transfer, and when the subscription renews next.","exampleUseCases":[{"title":"Monitor subscription renewal timing","prompt":"Tell me when my Arkham x402 WebSocket session is set to renew next so I can make sure my funding is ready before it lapses."},{"title":"Verify credit allocation before bulk data pull","prompt":"Before I start pulling a ton of wallet intelligence data from Arkham, can you check how many credits I get per session and per transfer on my current x402 plan?"},{"title":"Audit session config for cost planning","prompt":"Pull up my Arkham x402 session details — I need the creditPerSession and creditPerTransfer values to estimate how much this month's on-chain research is going to cost me."}],"resultDescription":"Returns a JSON object with: nextRenewalDate (ISO 8601 timestamp of when the subscription renews), creditPerSession (integer credits available per WebSocket session), and creditPerTransfer (integer credits consumed per data transfer).","failureModes":["Invalid or missing x402 payment token returns 402 Payment Required","Expired session credentials return 401 Unauthorized","Malformed POST body returns 400 Bad Request","Network timeout or service unavailability returns 503","Insufficient USDC balance to cover $0.20 per-call fee blocks access"],"whenToPreferThis":"Use this endpoint when you need to programmatically inspect the state of an active Arkham x402 WebSocket subscription — specifically to check credit balances and renewal timing before making downstream data calls. Prefer this over manual dashboard checks when building automated agents that need to gate behavior on available session credits or schedule actions around renewal windows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:32.142Z","isFirstParty":false}