{"api":"v1","generated_at":"2026-10-01T07:32:07.267Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/mart402-com-v1-extract-e04b44","pinned_page":"https://tollindex.com/e/mart402-com-v1-extract-e04b44/at/2026-10-01T05-50Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-01T05:50:06.230Z","snapshot_stamp":"2026-10-01T05-50Z","endpoint":{"slug":"mart402-com-v1-extract-e04b44","canonical_url":"https://mart402.com/v1/extract","resource":"https://mart402.com/v1/extract","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Web extraction for AI agents: URL to clean Markdown + metadata, automatic JS rendering, robots.txt respected. No API key.","service_name":"Mart402","declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-09-30T05:00:17.926Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"extract","category":"scraping","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-01T05:50:06.230Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188","scheme":"exact"}],"counters":{"observed_at":"2026-10-01T05:50:06.230Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-30T05:00:17.703Z"},"validation":{"latest":{"observed_at":"2026-09-30T09:10:17.951Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":3,"passed":3,"ratio":1},{"days":30,"observed":3,"passed":3,"ratio":1},{"days":90,"observed":3,"passed":3,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T09:10:17.951Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T21:15:33.598Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:49:52.270Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188","page":"https://tollindex.com/seller/0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188","endpoints":23,"hosts":1},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":120}],"quality":{"lastCalledAt":"2026-09-30T05:00:17.703Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://mart402.com/v1/extract","extensions":{"bazaar":{"info":{"input":{"body":{"url":"https://mart402.com/samples/assets/article.html","mode":"auto"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"ok":true,"url":"https://mart402.com/samples/assets/article.html","date":"2026-09-26","lang":null,"note":"SAMPLE RESPONSE recorded from a real run of the production engine on the self-hosted sample asset (deterministic product: same input gives this output). Served free at /samples/{product}. No payment was taken.","title":"How an AI agent pays for an API call with x402","author":"Mart","method":"fast","reason":"","sample":true,"status":200,"fetch_ms":242,"markdown":"# How an AI agent pays for an API call with x402\n\nThis page is a sample asset. It exists so that the example requests in our documentation work exactly as written: an agent that copies the example and pays for it gets real, useful content back instead of an error.\n\n## The four steps\n\nFirst, the agent sends an ordinary HTTP request to a paid endpoint without any payment. The server answers with HTTP 402 Payment Required and a machine-readable body that states the price, the asset (USDC), the network (Base) and the recipient address. Nothing has been charged at this point, so inspecting the term\n... (truncated in sample; full text returned on paid calls)","text_len":1654,"cache_hit":false,"final_url":"https://mart402.com/samples/assets/article.html","extract_ms":24,"receipt_id":"rcpt_... (issued on every paid call; re-fetch free at GET /v1/receipts/{id})","sample_input":{"url":"https://mart402.com/samples/assets/article.html","mode":"fast"}},"description":"JSON: markdown content, title, metadata, text_len, cache_hit; receipt id for free re-fetch"}},"schema":{"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","properties":{"url":{"type":"string"},"mode":{"type":"string"}}},"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"}}}}}},"offer-receipt":{"info":{"offers":[{"format":"jws","signature":"eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiI1MDAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJwYXlUbyI6IjB4RTMyNDRhMjFEMGQ2OGJGYTc4YjdDQWQ4QzNiODc3N2FERmJCMzE4OCIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9tYXJ0NDAyLmNvbS92MS9leHRyYWN0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzkwNzQ0NzE3LCJ2ZXJzaW9uIjoxfQ.ur1svBR39xRgb0dTBgIWVSyK-cam0aXvKCqxFBRCRxoB9L5Hd7zTQGCH8tzuzljSIrb67Af7uY9vtKikkp49AA","acceptIndex":0}]},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["offers"],"properties":{"offers":{"type":"array","items":{"type":"object","required":["format","signature"],"properties":{"format":{"type":"string","const":"jws"},"signature":{"type":"string","description":"JWS compact serialization containing the offer payload"},"acceptIndex":{"type":"integer"}}}}}}}},"description":"Web extraction for AI agents: URL to clean Markdown + metadata, automatic JS rendering, robots.txt respected. No API key.","lastUpdated":"2026-09-30T05:00:17.926Z","serviceName":"Mart402","x402Version":2}]}}