Fetch deterministic, token-efficient context from one public HTTPS URL: canonical URL, tit
Fetch deterministic, token-efficient context from one public HTTPS URL: canonical URL, title/description, headings, clean main content, structured-data types, freshness observations, evidence, and limitations. Call when you need a bounded JSON reading of one public page without a browser, login, crawl, or LLM.
10000 (raw units)
price
6
calls / 30d
5
unique payers
2026-09-14
updated
Provider
api.agentmercantile.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdb7b2b54f80479826222749a2ea73a8acc306e1e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"description": "Fetch deterministic, token-efficient context from one public HTTPS URL: canonical URL, title/description, headings, clean main content, structured-data types, freshness observations, evidence, and limitations. Call when you need a bounded JSON reading of one public page without a browser, login, crawl, or LLM.",
"input": {
"body": {
"url": "https://example.com/"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"checked_at": "2026-08-19T00:00:00.000Z",
"content": {
"approx_tokens": 39,
"characters": 155,
"extraction_basis": "body-heuristic",
"text": "This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.",
"token_estimate_method": "ceil(characters/4)",
"truncated": false
},
"evidence": {
"final_response_headers": {
"content-type": "text/html; charset=UTF-8"
},
"notes": []
},
"final_url": "https://example.com/",
"freshness": {
"observations": []
},
"http": {
"content_type": "text/html; charset=UTF-8",
"redirect_count": 0,
"status": 200
},
"limitations": [],
"metadata": {
"canonical": "https://example.com/",
"description": null,
"title": "Example Domain"
},
"methodology_version": "url-context-0.1.0",
"outline": [
{
"level": 1,
"text": "Example Domain"
}
],
"requested_url": "https://example.com/",
"size": {
"normalized_content_characters": 155,
"output_json_bytes": 1400,
"source_bytes_read": 1256
},
"status": "OK",
"structured_data": {
"json_ld_types": []
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"url": {
"description": "One absolute public HTTPS URL on port 443. No credentials in the URL. http, non-443 ports, and private/non-public targets are rejected without fetch.",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"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": {
"additionalProperties": true,
"properties": {
"checked_at": {
"description": "ISO-8601 timestamp when extraction ran.",
"type": "string"
},
"content": {
"properties": {
"approx_tokens": {
"type": "integer"
},
"characters": {
"type": "integer"
},
"extraction_basis": {
"enum": [
"main",
"article",
"body-heuristic",
"none"
],
"type": "string"
},
"text": {
"type": "string"
},
"token_estimate_method": {
"type": "string"
},
"truncated": {
"type": "boolean"
}
},
"type": "object"
},
"evidence": {
"type": "object"
},
"final_url": {
"description": "Final URL after bounded redirects, or null on HOLD.",
"type": [
"string",
"null"
]
},
"freshness": {
"properties": {
"observations": {
"type": "array"
}
},
"type": "object"
},
"http": {
"properties": {
"content_type": {
"type": [
"string",
"null"
]
},
"redirect_count": {
"type": "integer"
},
"status": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"limitations": {
"items": {
"type": "string"
},
"type": "array"
},
"metadata": {
"properties": {
"canonical": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"methodology_version": {
"enum": [
"url-context-0.1.0"
],
"type": "string"
},
"outline": {
"items": {
"properties": {
"level": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"requested_url": {
"description": "The buyer-supplied URL after request validation.",
"type": "string"
},
"size": {
"type": "object"
},
"status": {
"enum": [
"OK",
"PARTIAL",
"HOLD"
],
"type": "string"
},
"structured_data": {
"properties": {
"json_ld_types": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"required": [
"status",
"methodology_version",
"requested_url",
"content",
"limitations"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.agentmercantile.com/v1/url-context" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.agentmercantile.com/v1/url-context");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.agentmercantile.com/v1/url-context")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6804.json, and this resource appears in /discovery/resources and /discovery/search.