2s AI Extract — Structured Data Extraction from URL is a paid API for AI agents from 2s.io, paid per call via x402, $0.075/call, status unknown (last checked 2026-09-14).
Fetches a URL and extracts structured data from its content according to a caller-supplied JSON Schema and optional natural-language instruction
The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.
Returns a JSON object with an 'items' array where each item contains the requested URL, the final URL after any redirects, the 'extracted' object conforming to the caller-supplied JSON Schema, and a 'truncated' boolean indicating if the page was too long to process fully. Also includes source provenance (provider, URL, license) and a total count.
POSThttps://2s.io/api/ai/extractUse this endpoint when you need to extract typed, schema-conforming structured data from a specific URL in a single call, especially when you want to define exactly which fields to pull using your own JSON Schema. Prefer this over generic scrapers when you need clean structured output rather than raw HTML, and when you want pay-per-call pricing with no API key setup.
{
"url": "https://example.com",
"schema": {
"type": "object",
"properties": {
"company": {
"type": "string"
},
"founded_year": {
"type": "number"
},
"headquarters": {
"type": "string"
}
}
},
"instruction": "Extract the company name, founding year, and headquarters location from the webpage content."
}| Field | Type | Description |
|---|---|---|
| url | string | |
| schema | object | |
| instruction | string |
{
"data": {
"ok": true,
"items": [
{
"url": "https://example.com",
"finalUrl": "https://example.com/",
"extracted": {
"company": "null",
"founded_year": "null",
"headquarters": "null"
},
"truncated": false
}
],
"total": 1,
"source": {
"url": "https://2s.io",
"license": "Generated content — no upstream data license",
"provider": "2s.io AI (Anthropic Claude Haiku)"
}
},
"meta": {
"cost": {
"usd": 0.075,
"tier": 2
},
"caller": "x402",
"version": null,
"endpoint": "ai.extract",
"settlement": {
"txHash": "0x3bc712fc9179bed4b14d2916dff94cd17720061e7f770dc6192d37a66a005480",
"network": "eip155:8453",
"success": true
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"