Extract structured fields and source evidence from supported documents using task-specific
Extract structured fields and source evidence from supported documents using task-specific profiles such as tenders, invoices, contract dates, and privacy policies. Returns schema-validated JSON with confidence and page/source references.
50000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-16
updated
Provider
i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x94bab5853bff59401b355371f9c4b8ca6d6eca9d",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"fields": [
{
"name": "total",
"type": "number"
}
],
"profile": "generic-key-values",
"source": {
"text": "Invoice total: $125.00",
"type": "text"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"evidenceRequired": true,
"fields": {},
"profile": "generic-key-values",
"truncatedByBudget": false,
"warnings": []
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"profile": {
"enum": [
"tender",
"invoice",
"contract-dates",
"privacy-policy",
"generic-key-values"
],
"type": "string"
},
"source": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"type": {
"const": "url",
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"text": {
"type": "string"
},
"type": {
"const": "text",
"type": "string"
}
},
"required": [
"type",
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"data": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"type": {
"const": "base64",
"type": "string"
}
},
"required": [
"type",
"data",
"mimeType"
],
"type": "object"
}
]
}
},
"required": [
"profile",
"source"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"evidenceRequired": {
"type": "boolean"
},
"fields": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"confidence": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"page": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"sourceText": {
"type": "string"
},
"unknownReason": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"value",
"confidence"
],
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"profile": {
"type": "string"
},
"truncatedByBudget": {
"type": "boolean"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"profile",
"fields",
"evidenceRequired",
"warnings",
"truncatedByBudget"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"required": false
}
}Use it
curl
curl "https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/document-structured-extractor" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/document-structured-extractor");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/document-structured-extractor")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7900.json, and this resource appears in /discovery/resources and /discovery/search.