{
  "x402Version": 2,
  "id": 8147,
  "slug": "8147",
  "resource": "https://x402-seller-0ay3.onrender.com/api/ai/extract",
  "description": "Extract JSON from text — pull structured fields (invoice data, contact info, product specs, any custom schema) out of unstructured text, via Claude Haiku 4.5. JSON body: {text: string (max 8000 chars), schema: object (JSON Schema describing the fields to extract)}.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5c3DB195a38f39074d8c891741A82f6D8f2A16Cc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "schema": {
              "properties": {
                "customer": {
                  "type": "string"
                },
                "due_date": {
                  "type": "string"
                },
                "invoice_number": {
                  "type": "string"
                },
                "total": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "text": "Invoice #4521, billed to Jane Doe, total $340.00, due 2026-09-15."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "customer": "Jane Doe",
              "due_date": "2026-09-15",
              "invoice_number": "4521",
              "total": 340
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "schema": {
                    "description": "JSON Schema describing the fields to extract.",
                    "type": "object"
                  },
                  "text": {
                    "description": "Source text (max 8000 chars).",
                    "type": "string"
                  }
                },
                "required": [
                  "text",
                  "schema"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-seller-0ay3.onrender.com",
  "lastUpdated": "2026-09-02T17:32:53.614Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-02T17:32:53.354Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-seller-0ay3.onrender.com",
    "manifest_name": "x402-seller-0ay3.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}