{"currency":"USDC","protocol":"x402","pricing_page":"https://stockmarketapi.ai/ai-pricing","subscriptions":{"monthly":{"price_usd":19.0,"tier":"pro","duration_days":30,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"monthly"}},"yearly":{"price_usd":179.4,"tier":"pro","duration_days":365,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"yearly"}},"monthly_plus":{"price_usd":49.0,"tier":"pro_plus","duration_days":30,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"monthly_plus"}},"yearly_plus":{"price_usd":479.4,"tier":"pro_plus","duration_days":365,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"yearly_plus"}}},"passes":{"pass_1h":{"price_usd":1.0,"tier":"pro","duration_hours":1,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"pass_1h"}},"pass_1d":{"price_usd":3.0,"tier":"pro","duration_hours":24,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"pass_1d"}},"pass_7d":{"price_usd":7.0,"tier":"pro","duration_hours":168,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"pass_7d"}},"pass_1h_plus":{"price_usd":2.0,"tier":"pro_plus","duration_hours":1,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"pass_1h_plus"}},"pass_1d_plus":{"price_usd":7.0,"tier":"pro_plus","duration_hours":24,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"pass_1d_plus"}},"pass_7d_plus":{"price_usd":15.0,"tier":"pro_plus","duration_hours":168,"endpoint":"POST /payments/agent-subscribe","body":{"plan":"pass_7d_plus"}}},"per_request":{"companies":{"method":"GET","path":"/api/v1/companies","price_usd":0.01,"description":"List tracked companies with basic info: ticker, name, sector, exchange."},"search":{"method":"GET","path":"/api/v1/companies/search","price_usd":0.01,"description":"Search companies by name, ticker or sector."},"bulk":{"method":"GET","path":"/api/v1/companies/bulk","price_usd":0.1,"description":"Detailed profiles for up to 25 companies in a single call (?tickers=AAPL,MSFT,...)."},"company":{"method":"GET","path":"/api/v1/companies/{ticker}","price_usd":0.02,"description":"A company's full profile: identity, classification, description, headquarters, employees, market cap and data-completeness signals."},"financials":{"method":"GET","path":"/api/v1/companies/{ticker}/financials","price_usd":0.05,"description":"Financial statements for a company: income statement, balance sheet and cash flow, each field tagged with its source."},"metrics":{"method":"GET","path":"/api/v1/companies/{ticker}/metrics","price_usd":0.05,"description":"Calculated financial metrics and ratios for a company."},"metrics_summary":{"method":"GET","path":"/api/v1/companies/{ticker}/metrics/summary","price_usd":0.03,"description":"Key metrics in one object: P/E, P/B, P/S, ROE, ROA, margins, EPS, debt/equity, current ratio."},"filings":{"method":"GET","path":"/api/v1/companies/{ticker}/filings","price_usd":0.02,"description":"Filings for a company: US SEC filings (10-K, 10-Q, 8-K with EDGAR URLs) and ASX annual and half-year reports with links to the PDF and its markdown conversion."},"indices":{"method":"GET","path":"/api/v1/indices","price_usd":0.01,"description":"List the available market indices with member counts."},"index_members":{"method":"GET","path":"/api/v1/indices/{index_name}","price_usd":0.02,"description":"List the companies in a market index, for example /indices/sp500."},"formulas":{"method":"GET","path":"/api/v1/formulas","price_usd":0.01,"description":"List the financial formula definitions behind the calculated metrics."},"formula_cats":{"method":"GET","path":"/api/v1/formulas/categories","price_usd":0.01,"description":"List formula categories: profitability, liquidity, valuation and so on."},"formula":{"method":"GET","path":"/api/v1/formulas/{name}","price_usd":0.01,"description":"One formula by name, including its calculation logic."}},"how_to_pay":["1. GET the endpoint with no X-API-Key. You receive HTTP 402 with a Payment-Required header and a JSON body whose `accepts[]` lists the USDC amount, network (Base recommended) and payTo address.","2. Sign that amount with your wallet (EIP-3009 transferWithAuthorization on Base; the x402 client libraries do this). No gas is spent by you.","3. Repeat the request with the signed payload in the `x-payment` header. The facilitator settles on-chain and the response is the data (per request) or a key (pass or subscription).","4. Polling? Buy a pass or subscribe instead. A free key already covers 100 requests a day at no cost, and a subscription removes the daily limit."],"notes":["Per-request responses carry Cache-Control: private, no-store.","Passes and subscriptions return an smk_live_ key once; per-request payments do not.","A free key (POST /api/v1/auth/keys) serves every per-request endpoint at no cost, up to 100 requests a day.","x402 payments settle on-chain and are final."]}