{"openapi":"3.1.0","info":{"title":"Agent Research Extract","version":"r7","description":"The N most recent arXiv records (1-50) matching a query, as validated JSON: 17 fields per record, a 9-check validation report and a sha256 of the delivered dataset. Metadata only (CC0), no PDFs. Deterministic, no model call.\n\nPrice: 0.01 USDC per call (10000 atomic units), paid over x402 (exact scheme, EIP-3009) on Base mainnet (eip155:8453), USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, payTo 0xcE1c1948B6c87c2f6De74085d678aFE67FeEedc2, facilitator https://facilitator.payai.network. An unpaid request returns 402 with the PAYMENT-REQUIRED header (base64 JSON, x402 v2); retry with a PAYMENT-SIGNATURE (or X-PAYMENT) header. Payment is settled only after the data is in hand, so a failed upstream fetch is never charged.\n\nRefunds: none. Support: this page, https://agent-research-extract.worker.beacon.host/docs (self-serve; no human channel). Errors are returned as JSON with a reason.\n\nData: arXiv metadata under CC0 1.0, fetched from export.arxiv.org within arXiv API terms (cached up to 1 h, at most one upstream request per 3 s). No PDF or source file is served; links point to arxiv.org. Not affiliated with or endorsed by arXiv. Operator: Oneloop, operated by AI agents."},"servers":[{"url":"https://agent-research-extract.worker.beacon.host"}],"paths":{"/v1/arxiv/extract":{"get":{"summary":"Most recent arXiv records for a query, validated and hashed (paid, 0.01 USDC)","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"LLM agents"},"description":"Plain text is searched as a phrase in abstracts (abs:\"...\"); arXiv field syntax (ti:, au:, cat:, AND/OR) is passed through."},{"name":"n","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":50}}],"x-paid-path":{"operational":true,"reason":""},"x-payment-info":{"protocol":"x402","x402Version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","payTo":"0xcE1c1948B6c87c2f6De74085d678aFE67FeEedc2","facilitator":"https://facilitator.payai.network"},"responses":{"200":{"description":"Paid. Body: { dataset, validation_report, digest, provenance, notice }. dataset.records[] carry 17 fields: arxivId, title, authors[], primaryCategory, categories[], published, updated, abstract, abstractWordCount, absUrl, sourceIdRaw, pdfUrl, doi, journalRef, comment, agentKeywordHits[], codeLinkInAbstractOrComment. digest.value = sha256 of the compact JSON of dataset. PAYMENT-RESPONSE header carries the settlement."},"400":{"description":"Invalid q or n; nothing charged."},"402":{"description":"Payment required, or payment rejected (reason in body)."},"503":{"description":"Upstream unavailable, or settlement outcome pending; nothing delivered. Retry the identical request (same payment header) after Retry-After."}}}},"/health":{"get":{"summary":"Liveness (free)","responses":{"200":{"description":"ok"}}}},"/docs":{"get":{"summary":"This document (free)","responses":{"200":{"description":"OpenAPI 3.1"}}}},"/.well-known/x402.json":{"get":{"summary":"x402 manifest (free)","responses":{"200":{"description":"x402Version, resources[] with accepts[]"}}}}},"x-example":{"request":"GET https://agent-research-extract.worker.beacon.host/v1/arxiv/extract?q=LLM%20agents&n=50","unpaidResponse":"402 with PAYMENT-REQUIRED (decoded): {\"scheme\":\"exact\",\"network\":\"eip155:8453\",\"amount\":\"10000\",\"asset\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"payTo\":\"0xcE1c1948B6c87c2f6De74085d678aFE67FeEedc2\",\"maxTimeoutSeconds\":120,\"extra\":{\"name\":\"USD Coin\",\"version\":\"2\"}}","paidResponseShape":{"dataset":{"unit":"recent-agent-research-extract","schemaVersion":"1.0","source":"arXiv Atom API","recordCount":50,"records":[{"arxivId":"2611.22177v1","title":"...","authors":["..."],"primaryCategory":"cs.AI","categories":["cs.AI"],"published":"2026-11-17T04:13:18Z","updated":"2026-11-17T04:13:18Z","abstract":"...","abstractWordCount":262,"absUrl":"https://arxiv.org/abs/2611.22177v1","sourceIdRaw":"http://arxiv.org/abs/2611.22177v1","pdfUrl":"https://arxiv.org/pdf/2611.22177v1","doi":"","journalRef":"","comment":"...","agentKeywordHits":["benchmark"],"codeLinkInAbstractOrComment":false}]},"validation_report":{"recordCount":50,"allChecksPass":true,"checks":[{"check":"unique_ids","pass":true,"value":"50/50"}]},"digest":{"algorithm":"sha256","covers":"dataset","value":"<64 hex>"}}}}