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.
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.
Pay $0.02 USDC and run in your browserOfficial Coinbase agent path
Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.02 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.
npx --yes awal@latest x402 pay https://apiacre.com/v1/data/schemaorg-normalize \
-X POST \
-d '{"html":"{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"@id\":\"/products/acre-audit\",\"name\":\"Acre Audit\",\"sku\":\"ACRE-1\",\"offers\":{\"price\":\"19.00\",\"priceCurrency\":\"USD\"}}","base_url":"https://merchant.example/catalog/","include_types":["Organization","Product","Service","Article","Event"]}' \
--max-amount 20000 \
--jsonCoinbase pay-for-service documentation · Buyer setup and wallet safety
Alternative third-party AgentCash commands
Run check first without payment. Its fetch command may automatically pay up to the exact listed price.
npx --yes agentcash@latest check https://apiacre.com/v1/data/schemaorg-normalize
npx --yes agentcash@latest fetch https://apiacre.com/v1/data/schemaorg-normalize \
--method POST \
--header 'content-type: application/json' \
--body '{"html":"{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"@id\":\"/products/acre-audit\",\"name\":\"Acre Audit\",\"sku\":\"ACRE-1\",\"offers\":{\"price\":\"19.00\",\"priceCurrency\":\"USD\"}}","base_url":"https://merchant.example/catalog/","include_types":["Organization","Product","Service","Article","Event"]}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.020Input example
{
"html": "{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"@id\":\"/products/acre-audit\",\"name\":\"Acre Audit\",\"sku\":\"ACRE-1\",\"offers\":{\"price\":\"19.00\",\"priceCurrency\":\"USD\"}}",
"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": "4d1c5cb9e7d8a3dfb8cc1e611fb07f1574e81c5c506a4aafbac1a318a561ab4d",
"vocabulary": {
"name": "Schema.org",
"url": "https://schema.org/",
"license": "CC BY-SA 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/3.0/"
},
"scriptsSeen": 0,
"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": [],
"next_actions": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/data/schemaorg-normalize' \
-H 'content-type: application/json' \
--data '{"html":"{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"@id\":\"/products/acre-audit\",\"name\":\"Acre Audit\",\"sku\":\"ACRE-1\",\"offers\":{\"price\":\"19.00\",\"priceCurrency\":\"USD\"}}","base_url":"https://merchant.example/catalog/","include_types":["Organization","Product","Service","Article","Event"]}'