{"uid":"cap_r_OZNLRn3x2N-sopBsolL","slug":"stationfx-token-purchase-0e88c9a2","name":"StationFX Token Purchase","description":"Purchase a bearer token for Station f(x). One payment unlocks multiple data queries with no per-call settlement. Use Authorization: Bearer <token> on any /economic-data/{category}/{slug} endpoint.","url":"https://stationfx.com/token/purchase?utm_source=zero.xyz","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":{"properties":{}},"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","properties":{"token":{"type":"string","description":"JWT bearer token"},"price_usd":{"type":"number","description":"Amount paid in USD"},"call_limit":{"type":"integer","description":"Total calls this token allows"},"expires_at":{"type":"string","description":"ISO-8601 expiry timestamp"},"duration_hours":{"type":"integer","description":"Token validity window in hours"},"calls_remaining":{"type":"integer","description":"Remaining calls on this token"}},"description":"Bearer token granting 50 calls to any Station f(x) listing for 24 hours. Pass as Authorization: Bearer <token>."}}}}},"responseSchema":{"type":"json","example":{"token":"<jwt>","price_usd":0.25,"call_limit":50,"expires_at":"2026-01-02T00:00:00Z","duration_hours":24,"calls_remaining":50}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-wrUsXoVaN6IMblPc2vpj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a bearer token via x402 payment that grants a fixed number of calls to any StationFX data query endpoint without per-call settlement.","exampleAgentPrompt":"Buy me a StationFX bearer token so I can query multiple data listings — I want to pay once and have 50 calls available for the next 24 hours without settling every query individually.","exampleUseCases":[{"title":"Batch economic signal queries","prompt":"Get me a StationFX access token so I can pull economic signals from several different listings without paying for each one separately — I need it to cover at least 50 calls today."},{"title":"Automated agent data access","prompt":"My agent needs to query StationFX listings throughout the day — buy a bearer token now so it can make calls to any /query endpoint without stopping to pay each time."},{"title":"One-time research session on StationFX","prompt":"I want to explore a bunch of different Station f(x) data functions this afternoon — purchase a token that unlocks 50 queries for the next 24 hours so I can browse freely."}],"resultDescription":"Returns a JWT bearer token string, the USD amount charged, the total call limit (e.g. 50 calls), an ISO-8601 expiry timestamp, the validity window in hours, and the number of calls remaining. The token is passed as Authorization: Bearer <token> on any StationFX /query/{listing_id} endpoint.","failureModes":["Insufficient USDC balance — payment rejected, no token issued","x402 payment protocol error — malformed payment header or unsupported wallet","Expired or invalid payment proof — token not generated","Service unavailable — StationFX backend down, 5xx returned","Rate limit on token purchases — too many tokens purchased in a short window"],"whenToPreferThis":"Use this endpoint when you need to make multiple queries against StationFX data listings and want to avoid per-call payment overhead. It is the required first step before calling any /query/{listing_id} endpoint on stationfx.com. Prefer this over per-call alternatives when your agent will make more than one or two queries in a session, or when low-latency, uninterrupted data access matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:47:34.042Z","isFirstParty":false,"canonicalSlug":"stationfx-token-purchase-0e88c9a2"}