{
  "x402Version": 2,
  "id": 33849,
  "slug": "33849",
  "resource": "https://x402.agentindex.world/extract",
  "description": "Extract structured data from a URL or raw text into strict JSON matching a schema you provide. Fields the content doesn't support come back null - never an invented or approximate value, and an unmatchable schema returns an explicit error. Try GET /extract/sample. Part of the AgentIndex content kit (pdf, web-read, extract, summarize, detect-language) - see GET /capabilities.",
  "type": "http",
  "serviceName": "extract-structured-data",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790530885/bazaar-icons/fde5dd6af2b2b42f.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "description": "Extracted data, matching the requested schema's shape - fields the content doesn't support come back null rather than an invented value (see missing_fields).",
            "type": "object"
          },
          "missing_fields": {
            "description": "Top-level keys in data the model could not find in the content and returned as null.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "x402_receipt": {
            "description": "Billing and provenance receipt for this call.",
            "type": "object"
          }
        },
        "required": [
          "data",
          "missing_fields"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "schema": {
              "properties": {
                "in_stock": {
                  "type": "boolean"
                },
                "price": {
                  "type": "number"
                },
                "product_name": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "text": "Widget Pro is our flagship gadget, priced at $29.99 and currently in stock."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "in_stock": true,
              "price": 29.99,
              "product_name": "Widget Pro"
            },
            "missing_fields": []
          },
          "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. The response's `data` field will strictly conform to it.",
                    "type": "object"
                  },
                  "text": {
                    "description": "Raw text to extract from. Provide this or url, not both.",
                    "type": "string"
                  },
                  "url": {
                    "description": "URL to read and extract from. Provide this or text, not both.",
                    "type": "string"
                  }
                },
                "required": [
                  "schema"
                ]
              },
              "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": {
                "properties": {
                  "data": {
                    "description": "Extracted data, matching the requested schema's shape - fields the content doesn't support come back null rather than an invented value (see missing_fields).",
                    "type": "object"
                  },
                  "missing_fields": {
                    "description": "Top-level keys in data the model could not find in the content and returned as null.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "x402_receipt": {
                    "description": "Billing and provenance receipt for this call.",
                    "type": "object"
                  }
                },
                "required": [
                  "data",
                  "missing_fields"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "extract",
    "structured data",
    "json schema",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-08T06:08:44.518Z",
  "quality": {
    "calls30d": 13,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:08:44.293Z"
  },
  "metadata": {
    "serviceName": "extract-structured-data",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790530885/bazaar-icons/fde5dd6af2b2b42f.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "schema": {
                "properties": {
                  "in_stock": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "number"
                  },
                  "product_name": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "text": "Widget Pro is our flagship gadget, priced at $29.99 and currently in stock."
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "in_stock": true,
                "price": 29.99,
                "product_name": "Widget Pro"
              },
              "missing_fields": []
            },
            "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. The response's `data` field will strictly conform to it.",
                      "type": "object"
                    },
                    "text": {
                      "description": "Raw text to extract from. Provide this or url, not both.",
                      "type": "string"
                    },
                    "url": {
                      "description": "URL to read and extract from. Provide this or text, not both.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "schema"
                  ]
                },
                "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": {
                  "properties": {
                    "data": {
                      "description": "Extracted data, matching the requested schema's shape - fields the content doesn't support come back null rather than an invented value (see missing_fields).",
                      "type": "object"
                    },
                    "missing_fields": {
                      "description": "Top-level keys in data the model could not find in the content and returned as null.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "x402_receipt": {
                      "description": "Billing and provenance receipt for this call.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "missing_fields"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {},
      "missing_fields": [
        "string"
      ],
      "x402_receipt": {}
    },
    "type": "string"
  }
}