Fetch deterministic, token-efficient context from one public HTTPS URL: canonical URL,…
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…
by api.agentmercantile.com · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: url-context · webpage-context · web-extraction · page-evidence · structured-webpage · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"url": "https://example.com/"
}{
"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": []
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29147.jsonfor the price and payment options. - Pay. Call
GET https://api.agentmercantile.com/v1/url-context. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0xdb7b2b54f80479826222749a2ea73a8acc306e1e | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdb7b2b54f80479826222749a2ea73a8acc306e1e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"checked_at": "string",
"content": {
"approx_tokens": 0,
"characters": 0,
"extraction_basis": "main",
"text": "string",
"token_estimate_method": "string",
"truncated": true
},
"evidence": {},
"final_url": "string",
"freshness": {
"observations": [
"value"
]
},
"http": {
"content_type": "string",
"redirect_count": 0,
"status": 0
},
"limitations": [
"string"
],
"metadata": {
"canonical": "string",
"description": "string",
"title": "string"
},
"methodology_version": "url-context-0.1.0",
"outline": [
{
"level": 0,
"text": "string"
}
],
"requested_url": "string",
"size": {},
"status": "OK",
"structured_data": {
"json_ld_types": [
"string"
]
}
},
"type": "string"
}Examples
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 paidconst 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
}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 headerDetails
- Provider
- api.agentmercantile.com
- Endpoint
- https://api.agentmercantile.com/v1/url-context
- Machine-readable
/resources/29147.json