{
 "id": "a7cb6b998509",
 "url": "https://quickbuild.quynguyenbac.workers.dev/v1/rerank",
 "host": "quickbuild.quynguyenbac.workers.dev",
 "method": "GET",
 "type": "http",
 "x402Version": 2,
 "scheme": "exact",
 "network": "eip155:8453",
 "net": "base",
 "testnet": false,
 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
 "price_atomic": "2000",
 "price_usd": 0.002,
 "band": "under-1c",
 "payTo": "0x751a4c3841bE287544C371B4EE09Bd3366AeA7cf",
 "networks": [
  "eip155:8453"
 ],
 "description": "Cohere/Jina-style rerank: POST {query, documents: string[] | {text}[], top_n, return_documents} and get {results: [{index, relevance_score, document?}]} sorted by relevance. Models (Cloudflare Workers AI): bge-reranker-base (cross-encoder, English/Chinese, scores 0..1); bge-m3 (multilingual similarity scoring) (default bge-reranker-base; other names map to it). Up to 100 documents, each scored on its first 4000 chars; one fixed price per call. Use after vector search to pick the best passages fo",
 "serviceName": "QuickBuild",
 "tags": [
  "rerank",
  "rag",
  "search",
  "relevance",
  "ai"
 ],
 "mimeType": "application/json",
 "iconUrl": null,
 "bazaar": {
  "info": {
   "input": {
    "type": "http",
    "method": "GET",
    "queryParams": {
     "query": "How do AI agents pay for APIs?",
     "top_n": 2,
     "documents": [
      "x402 uses HTTP 402 so agents pay per request with USDC.",
      "Bananas are rich in potassium."
     ]
    }
   },
   "output": {
    "type": "json",
    "example": {
     "id": "rerank-3f2a9c1d",
     "model": "bge-reranker-base",
     "usage": {
      "total_tokens": 34,
      "prompt_tokens": 34
     },
     "modelId": "@cf/baai/bge-reranker-base",
     "results": [
      {
       "index": 0,
       "relevance_score": 0.9997
      },
      {
       "index": 1,
       "relevance_score": 0.00004
      }
     ],
     "truncatedDocuments": false
    }
   }
  },
  "has_schema": true
 },
 "quality": null,
 "catalogs": [
  {
   "name": "payai",
   "lastUpdated": "2026-10-20T21:25:41.761Z",
   "seen_at": "2026-11-18T01:58:32.416Z"
  }
 ],
 "catalog_names": [
  "payai"
 ],
 "first_seen_catalog": "2026-10-20T21:25:41.761Z",
 "last_updated_catalog": "2026-10-20T21:25:41.761Z",
 "first_seen": "2026-10-22",
 "templated": false,
 "category": "crypto-data",
 "probe": {
  "at": "2026-10-22T00:27:16.095Z",
  "head_status": 402,
  "get_status": 402,
  "is_402": true,
  "status": "live",
  "body_json": true,
  "has_accepts": true,
  "accepts_count": 1,
  "accepts0": {
   "scheme": "exact",
   "network": "eip155:8453",
   "amount": "2000",
   "payTo": "0x751a4c3841bE287544C371B4EE09Bd3366AeA7cf",
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "maxTimeoutSeconds": 300,
   "extra": {
    "name": "USD Coin",
    "version": "2"
   }
  },
  "price_matches_catalog": true,
  "payto_matches_catalog": true,
  "x402Version": 2,
  "has_bazaar_ext": true,
  "has_payment_required_header": true,
  "mpp_header": null,
  "channel": "header+body",
  "content_type": "application/json",
  "latency_ms": 387,
  "error": null,
  "cors": "*",
  "ratelimit_headers": false,
  "server": "cloudflare",
  "error_text": "Payment required",
  "resource_url_in_402": "https://quickbuild.quynguyenbac.workers.dev/v1/rerank"
 },
 "onchain": {
  "resolved": false,
  "unresolved": true,
  "reason": "payTo not seen in the payer forensics (180 wallets' outbound history) or the Blockscout sample"
 },
 "status": "live",
 "valid_402": true,
 "dead": false,
 "verdict": "live",
 "live_reprobe": {
  "at": "2026-11-05T13:13:26.064Z",
  "head_status": 402,
  "get_status": 402,
  "is_402": true,
  "status": "live",
  "dead": false,
  "valid_402": true,
  "body_json": true,
  "has_accepts": true,
  "accepts_count": 1,
  "accepts0": {
   "scheme": "exact",
   "network": "eip155:8453",
   "amount": "2000",
   "payTo": "0x751a4c3841bE287544C371B4EE09Bd3366AeA7cf",
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "maxTimeoutSeconds": 300,
   "extra": {
    "name": "USD Coin",
    "version": "2"
   }
  },
  "price_matches_catalog": true,
  "payto_matches_catalog": null,
  "x402Version": 2,
  "has_bazaar_ext": true,
  "has_payment_required_header": true,
  "mpp_header": null,
  "channel": "header+body",
  "content_type": "application/json",
  "latency_ms": 203,
  "error": null,
  "error_text": "Payment required",
  "id": "a7cb6b998509",
  "url": "https://quickbuild.quynguyenbac.workers.dev/v1/rerank",
  "via": "cron",
  "prev_status": "live",
  "census_status": "live",
  "changed": false
 },
 "featured": null,
 "page": "https://bazaar.agentexchange.work/r/a7cb6b998509",
 "seller": "https://bazaar.agentexchange.work/seller/quickbuild.quynguyenbac.workers.dev",
 "seller_json": "https://bazaar.agentexchange.work/seller/quickbuild.quynguyenbac.workers.dev.json",
 "paid": {
  "probe_now": {
   "url": "https://bazaar.agentexchange.work/r/a7cb6b998509/probe.json",
   "price_usd": 0.01,
   "protocol": "x402"
  },
  "feature": {
   "url": "https://bazaar.agentexchange.work/featured",
   "method": "POST",
   "body": {
    "id": "a7cb6b998509"
   },
   "price_usd": 1,
   "protocol": "x402"
  }
 },
 "license": "CC BY 4.0"
}