purchase_filing
Purchase and deliver a full SEC filing with alpha signals, causality events, and financial metrics. Requires a two-step on-chain USDC payment via Polygon.
Instructions
Purchase and deliver one full SEC filing row from fi_listings_portfolio (MPP v1.0 x402). [COST: xpay per-call + on-chain USDC data price (see FINANCE_FILING_PRICE_USD)] Full JSON includes alpha_signals with evidence_verified causality_events and financial_metrics from SEC CompanyFacts. Do NOT return agent_bundle or internal pipeline fields.
[AGENTIC WORKFLOW — mandatory 2-step 402 flow]: STEP 1: Call with document_id and network only; leave tx_hash EMPTY. STEP 2: Broadcast the exact transaction_payload on-chain (polygon USDC default). STEP 3: Call again with the same document_id, network, and confirmed tx_hash (66 chars).
[EXAMPLE ARGUMENTS - MINIMAL (Step 1 — payment info)]: {"document_id": "000000708426000023", "network": "polygon"}
"document_id": "000000708426000023", "network": "polygon", "tx_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | document_id from search_filings or get_filing_sample. | |
| network | No | Blockchain network. Default polygon (USDC). Also supports base. | polygon |
| tx_hash | No | Transaction hash. LEAVE EMPTY on first call to receive 402 payment instructions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |