Zum Inhalt
HALOWERK

X402werk

benchmark / price

Reads the public x402 Bazaar catalogue and finds offers comparable to yours, either from a resource_url whose 402 challenge is fetched without paying, or from a category and description you supply. Every comparable offer is listed with its price, its provider host, a similarity score and the terms both sides share, so comparability is justified rather than asserted; the formula, its weights and the inclusion threshold are stated in the answer.

POST https://x402.halowerk.com/benchmark/price

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
resource_urlstringNeinURL of your paid endpoint. Its 402 challenge is fetched without paying to read your own price and description.
categorystringNeinCategory of the endpoint, for example "web extraction" or "market data". Used as extra comparison terms.
descriptionstringNeinWhat your endpoint delivers. Used to find comparable offers when no resource_url is given.
own_price_usdcstringNeinYour price in whole stablecoin units, if it should not be read from a challenge.
max_comparablesintegerNeinHow many comparable offers to list, highest similarity first.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "anyOf": [
    {
      "required": [
        "resource_url"
      ]
    },
    {
      "required": [
        "description"
      ]
    }
  ],
  "properties": {
    "resource_url": {
      "type": "string",
      "pattern": "^https?://",
      "maxLength": 2048,
      "description": "URL of your paid endpoint. Its 402 challenge is fetched without paying to read your own price and description."
    },
    "category": {
      "type": "string",
      "maxLength": 120,
      "description": "Category of the endpoint, for example \"web extraction\" or \"market data\". Used as extra comparison terms."
    },
    "description": {
      "type": "string",
      "maxLength": 2000,
      "description": "What your endpoint delivers. Used to find comparable offers when no resource_url is given."
    },
    "own_price_usdc": {
      "type": "string",
      "pattern": "^[0-9]+(\\.[0-9]+)?$",
      "description": "Your price in whole stablecoin units, if it should not be read from a challenge."
    },
    "max_comparables": {
      "type": "integer",
      "minimum": 3,
      "maximum": 50,
      "default": 25,
      "description": "How many comparable offers to list, highest similarity first."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "resource_url": "http://",
  "max_comparables": 25
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →