{
  "x402Version": 2,
  "id": 38480,
  "slug": "38480",
  "resource": "https://datastand.dev/api/bazaar/cheapest",
  "description": "Cost-optimised endpoint selection: name a capability (web search, token safety, enrichment) and get the x402 endpoints that provide it ranked cheapest-first in USDC per call, with adoption stats. Refreshed daily from the Bazaar discovery index. The corpus is the most-used slice of the Bazaar, so read `price_floor_complete` and `corpus.cutoff` for whether the price floor you get is the Bazaar's or only ours — both are free on the catalog listing.",
  "type": "http",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x470a1b647d668d3820add26d70c8371557ff4c6b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "capability": "web search",
            "limit": "20",
            "min_payers": "1",
            "offset": "0"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "capability": "web search",
            "cheapest": {
              "payers_30d": 12,
              "price_usd": 0.001,
              "resource": "https://example.com/api/search"
            },
            "corpus": {
              "cutoff": {
                "calls_30d": 4,
                "note": "Weakest row in the searchable slice. Resources at or below this 30-day usage may not be indexed; ranking is payers, then calls, then most recently restamped by the index, then resource URL.",
                "payers_30d": 2
              },
              "indexed": 8003,
              "of_total": 33694
            },
            "count": 7,
            "filters": {
              "min_payers": 1,
              "min_payers_effective": 2
            },
            "page": {
              "has_more": false,
              "limit": 20,
              "next_offset": null,
              "offset": 0,
              "returned": 7,
              "total": 7
            },
            "price_floor_complete": false
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "capability": {
                    "description": "What the endpoint must do, e.g. 'web search'",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Rows per page, 1-100 (default 20)",
                    "type": "string"
                  },
                  "min_payers": {
                    "description": "Minimum unique 30-day payers (default 1). Cannot go below corpus.cutoff.payers_30d — the index holds no rows under it, so a lower value is reported back raised in filters.min_payers_effective. Strictly above the cutoff gives price_floor_complete: true.",
                    "type": "string"
                  },
                  "offset": {
                    "description": "Skip this many ranked candidates (default 0). Use page.next_offset from the previous response. A page past the end costs nothing.",
                    "type": "string"
                  }
                },
                "required": [
                  "capability"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "datastand.dev",
  "lastUpdated": "2026-10-09T06:01:26.986Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-10-09T06:01:26.664Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "capability": "web search",
              "limit": "20",
              "min_payers": "1",
              "offset": "0"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "capability": "web search",
              "cheapest": {
                "payers_30d": 12,
                "price_usd": 0.001,
                "resource": "https://example.com/api/search"
              },
              "corpus": {
                "cutoff": {
                  "calls_30d": 4,
                  "note": "Weakest row in the searchable slice. Resources at or below this 30-day usage may not be indexed; ranking is payers, then calls, then most recently restamped by the index, then resource URL.",
                  "payers_30d": 2
                },
                "indexed": 8003,
                "of_total": 33694
              },
              "count": 7,
              "filters": {
                "min_payers": 1,
                "min_payers_effective": 2
              },
              "page": {
                "has_more": false,
                "limit": 20,
                "next_offset": null,
                "offset": 0,
                "returned": 7,
                "total": 7
              },
              "price_floor_complete": false
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "capability": {
                      "description": "What the endpoint must do, e.g. 'web search'",
                      "type": "string"
                    },
                    "limit": {
                      "description": "Rows per page, 1-100 (default 20)",
                      "type": "string"
                    },
                    "min_payers": {
                      "description": "Minimum unique 30-day payers (default 1). Cannot go below corpus.cutoff.payers_30d — the index holds no rows under it, so a lower value is reported back raised in filters.min_payers_effective. Strictly above the cutoff gives price_floor_complete: true.",
                      "type": "string"
                    },
                    "offset": {
                      "description": "Skip this many ranked candidates (default 0). Use page.next_offset from the previous response. A page past the end costs nothing.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "capability"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "datastand.dev",
    "manifest_name": "datastand.dev",
    "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": {},
    "type": "string"
  }
}