Schema.org JSON-LD normalization
Normalize caller-supplied inline Schema.org JSON-LD into deterministic Organization, Product, Service, Article, and Event entities with privacy scrubbing and field-level evidence hashes.
$0.02 USDCBasex402 v2POST
Endpoint
https://apiacre.com/v1/data/schemaorg-normalizeSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Input example
{
"html": "<script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"@id\":\"/products/acre-audit\",\"name\":\"Acre Audit\",\"sku\":\"ACRE-1\",\"offers\":{\"price\":\"19.00\",\"priceCurrency\":\"USD\"}}</script>",
"base_url": "https://merchant.example/catalog/",
"include_types": [
"Organization",
"Product",
"Service",
"Article",
"Event"
]
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.schemaorg-normalize",
"version": "1",
"data": {
"documentSha256": "d81765f451d9a26a0f3d57a2a54f93814e69e74619b833e6ab1ca7c054aa3eb2",
"vocabulary": {
"name": "Schema.org",
"url": "https://schema.org/",
"license": "CC BY-SA 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/3.0/"
},
"scriptsSeen": 1,
"nodesSeen": 1,
"nodesReturned": 1,
"typeCounts": {
"Product": 1
},
"nodes": [
{
"type": "Product",
"id": "https://merchant.example/products/acre-audit",
"fields": {
"name": "Acre Audit",
"offers": [
{
"price": "19.00",
"priceCurrency": "USD"
}
],
"sku": "ACRE-1"
},
"evidence": [
{
"field": "name",
"blockIndex": 0,
"jsonPointer": "/name",
"valueSha256": "ae1a7c0779ad2136ec1fb0b0d4fc41b3b2b4725705a0be16db9e6131a1259678"
},
{
"field": "offers",
"blockIndex": 0,
"jsonPointer": "/offers",
"valueSha256": "60039362af5350d5de23be1025c7f55026c58049badb772ae937402886cbec4c"
},
{
"field": "sku",
"blockIndex": 0,
"jsonPointer": "/sku",
"valueSha256": "55f1dc0f11886752410eb312ae276382a6c8ae8d785f9f997a70f417f615fd46"
}
]
}
],
"conflicts": [],
"warnings": []
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/data/schemaorg-normalize' \
-H 'content-type: application/json' \
--data '{"html":"<script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"@id\":\"/products/acre-audit\",\"name\":\"Acre Audit\",\"sku\":\"ACRE-1\",\"offers\":{\"price\":\"19.00\",\"priceCurrency\":\"USD\"}}</script>","base_url":"https://merchant.example/catalog/","include_types":["Organization","Product","Service","Article","Event"]}'