{
  "x402Version": 2,
  "id": 26867,
  "slug": "26867",
  "resource": "https://schemasure.com/v2/extract",
  "description": "Extract strict, JSON-Schema-valid typed JSON from unstructured text or HTML. Failed extraction calls are not settled. Primary x402 V2 API for production agents.",
  "type": "http",
  "serviceName": "SchemaSure",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9876af0F6D8Ed5155Cd02d1ca56D128601612690",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "description": "Extracted value; guaranteed to validate against the request `schema`."
          },
          "meta": {
            "properties": {
              "deterministicFields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "latencyMs": {
                "type": "integer"
              },
              "repairs": {
                "type": "integer"
              },
              "validated": {
                "const": true
              }
            },
            "required": [
              "repairs",
              "latencyMs",
              "validated"
            ],
            "type": "object"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": "Invoice #A-1042 — Acme Corp. Total due: $1,299.00 USD on 2026-08-01.",
            "schema": {
              "additionalProperties": false,
              "properties": {
                "currency": {
                  "enum": [
                    "USD",
                    "EUR",
                    "GBP"
                  ],
                  "type": "string"
                },
                "dueDate": {
                  "format": "date",
                  "type": "string"
                },
                "invoiceNumber": {
                  "type": "string"
                },
                "total": {
                  "type": "number"
                }
              },
              "required": [
                "invoiceNumber",
                "total",
                "currency",
                "dueDate"
              ],
              "type": "object"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "currency": "USD",
              "dueDate": "2026-08-01",
              "invoiceNumber": "A-1042",
              "total": 1299
            },
            "meta": {
              "latencyMs": 640,
              "repairs": 0,
              "validated": true
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "input": {
                    "description": "Raw unstructured content to extract from (plain text or HTML).",
                    "minLength": 1,
                    "type": "string"
                  },
                  "inputType": {
                    "default": "auto",
                    "description": "How to interpret `input`: plain text, HTML, or auto-detect (default).",
                    "enum": [
                      "text",
                      "html",
                      "auto"
                    ],
                    "type": "string"
                  },
                  "options": {
                    "additionalProperties": false,
                    "properties": {
                      "deterministic": {
                        "default": true,
                        "description": "Enable deterministic pre-extraction hints.",
                        "type": "boolean"
                      },
                      "maxRepairs": {
                        "description": "Max validate->re-prompt repair iterations.",
                        "maximum": 5,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "strict": {
                        "default": true,
                        "description": "Drop fields not present in the schema.",
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  },
                  "schema": {
                    "description": "JSON Schema (draft 2020-12) that the returned `data` is guaranteed to satisfy.",
                    "type": "object"
                  }
                },
                "required": [
                  "input",
                  "schema"
                ],
                "type": "object"
              },
              "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": {
                "properties": {
                  "data": {
                    "description": "Extracted value; guaranteed to validate against the request `schema`."
                  },
                  "meta": {
                    "properties": {
                      "deterministicFields": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "latencyMs": {
                        "type": "integer"
                      },
                      "repairs": {
                        "type": "integer"
                      },
                      "validated": {
                        "const": true
                      }
                    },
                    "required": [
                      "repairs",
                      "latencyMs",
                      "validated"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "x402",
    "structured-output",
    "ai-agents",
    "structured-data",
    "json",
    "bazaar"
  ],
  "sourceHost": "schemasure.com",
  "lastUpdated": "2026-10-11T07:37:50.938Z",
  "quality": {
    "calls30d": 39,
    "uniquePayers30d": 7,
    "lastCalledAt": "2026-10-11T07:37:50.622Z"
  },
  "metadata": {
    "serviceName": "SchemaSure",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "input": "Invoice #A-1042 — Acme Corp. Total due: $1,299.00 USD on 2026-08-01.",
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "currency": {
                    "enum": [
                      "USD",
                      "EUR",
                      "GBP"
                    ],
                    "type": "string"
                  },
                  "dueDate": {
                    "format": "date",
                    "type": "string"
                  },
                  "invoiceNumber": {
                    "type": "string"
                  },
                  "total": {
                    "type": "number"
                  }
                },
                "required": [
                  "invoiceNumber",
                  "total",
                  "currency",
                  "dueDate"
                ],
                "type": "object"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "currency": "USD",
                "dueDate": "2026-08-01",
                "invoiceNumber": "A-1042",
                "total": 1299
              },
              "meta": {
                "latencyMs": 640,
                "repairs": 0,
                "validated": true
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "input": {
                      "description": "Raw unstructured content to extract from (plain text or HTML).",
                      "minLength": 1,
                      "type": "string"
                    },
                    "inputType": {
                      "default": "auto",
                      "description": "How to interpret `input`: plain text, HTML, or auto-detect (default).",
                      "enum": [
                        "text",
                        "html",
                        "auto"
                      ],
                      "type": "string"
                    },
                    "options": {
                      "additionalProperties": false,
                      "properties": {
                        "deterministic": {
                          "default": true,
                          "description": "Enable deterministic pre-extraction hints.",
                          "type": "boolean"
                        },
                        "maxRepairs": {
                          "description": "Max validate->re-prompt repair iterations.",
                          "maximum": 5,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "strict": {
                          "default": true,
                          "description": "Drop fields not present in the schema.",
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    },
                    "schema": {
                      "description": "JSON Schema (draft 2020-12) that the returned `data` is guaranteed to satisfy.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "input",
                    "schema"
                  ],
                  "type": "object"
                },
                "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": {
                  "properties": {
                    "data": {
                      "description": "Extracted value; guaranteed to validate against the request `schema`."
                    },
                    "meta": {
                      "properties": {
                        "deterministicFields": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "latencyMs": {
                          "type": "integer"
                        },
                        "repairs": {
                          "type": "integer"
                        },
                        "validated": {
                          "const": true
                        }
                      },
                      "required": [
                        "repairs",
                        "latencyMs",
                        "validated"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "schemasure.com",
    "manifest_name": "schemasure.com",
    "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": null,
      "meta": {
        "deterministicFields": [
          "string"
        ],
        "latencyMs": 0,
        "repairs": 0,
        "validated": null
      }
    },
    "type": "string"
  }
}