{
  "x402Version": 2,
  "id": 29147,
  "slug": "29147",
  "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",
  "serviceName": "Agent Mercantile",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdb7b2b54f80479826222749a2ea73a8acc306e1e",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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": [
    "url-context",
    "webpage-context",
    "web-extraction",
    "page-evidence",
    "structured-webpage",
    "bazaar"
  ],
  "sourceHost": "api.agentmercantile.com",
  "lastUpdated": "2026-10-08T05:33:22.878Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:33:22.693Z"
  },
  "metadata": {
    "serviceName": "Agent Mercantile",
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
  }
}