{
  "x402Version": 2,
  "id": 8656,
  "slug": "8656",
  "resource": "https://x402.hydratrader.ai/v1/structured-extract",
  "description": "Extract structured JSON fields into YOUR schema from pasted text or a public URL. When to use: turn messy public text into typed JSON with confidence + warnings. Refuses login/paywall sources. USDC on Base via x402 — no API key.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x55d06e282a699710e03088c218a9e79d2b1616fc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "schema": {
              "additionalProperties": false,
              "properties": {
                "price": {
                  "type": "number"
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "title"
              ],
              "type": "object"
            },
            "source": {
              "text": "Widget Pro costs $12.50 and ships in 2 days.",
              "type": "text"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "client_ref": null,
            "confidence": 0.92,
            "data": {
              "price": 12.5,
              "title": "Widget Pro"
            },
            "endpoint": "structured-extract",
            "ok": true,
            "source_meta": {
              "chars": 44,
              "fetched": false,
              "truncated": false,
              "type": "text",
              "url": null
            },
            "usage": {
              "latency_ms": 1100,
              "price_usdc": "0.03"
            },
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "client_ref": {
                    "type": "string"
                  },
                  "instructions": {
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "schema": {
                    "type": "object"
                  },
                  "source": {
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "type": {
                        "enum": [
                          "text",
                          "public_url"
                        ],
                        "type": "string"
                      },
                      "url": {
                        "format": "uri",
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "source",
                  "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"
      }
    },
    "builder-code": {
      "info": {
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "x402.hydratrader.ai",
  "lastUpdated": "2026-09-12T23:41:05.538Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-12T23:41:05.174Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.hydratrader.ai",
    "manifest_name": "x402.hydratrader.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}