{
  "x402Version": 2,
  "id": 6804,
  "slug": "6804",
  "resource": "https://api.agentmercantile.com/v1/url-context",
  "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdb7b2b54f80479826222749a2ea73a8acc306e1e",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.agentmercantile.com",
  "lastUpdated": "2026-09-14T19:51:07.863Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-09-14T19:51:07.515Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentmercantile.com",
    "manifest_name": "api.agentmercantile.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}