# Bazaar Competition Search — pastable-x402

> Bazaar Competition Search — pastable-x402 is a paid API for AI agents from pastable-x402.pages.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-16).

Search the Bazaar x402 marketplace for competing API endpoints matching a given term, returning price and description data for each match

## Facts

- Endpoint: GET https://pastable-x402.pages.dev/bazaar/competition
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bazaar-competition-search-pastable-x402-dd6456d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RY1XVQYKnYxq34jJEiy9R

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bazaar-competition-search-pastable-x402-dd6456d9
```

Example prompt: Search the Bazaar x402 marketplace for APIs related to 'weather' — I want to see what competitors are charging and how many sellers are out there.

## When to prefer this

Use this endpoint when you need competitive intelligence on x402 pay-per-call APIs — specifically to discover pricing benchmarks, find alternative providers, or assess market saturation for a given capability. It is purpose-built for the x402/Bazaar ecosystem and provides structured pricing stats (median, cheapest, distinct sellers) that generic web search cannot reliably surface.

## Known failure modes

- Missing required 'q' query parameter returns 400 or validation error
- No matching APIs found returns empty sample array with matches:0
- Payment not processed (402) if x402 micropayment of $0.05 USDC on Base mainnet is not provided
- Search term too broad may return truncated or sampled results
- Service unavailable if Bazaar index is temporarily down

## How this service works

Pay-per-call utility APIs for agents: EVM helpers (checksum, unit conversion, keccak), data transforms (CSV to JSON, JSON diff, URL canonicalisation), text tools (hashing, JWT decode), and Bazaar market intelligence. x402 on Base mainnet.

## Output

Returns a JSON object containing the search term, an array of matching API resources (each with resource URL, price in USD, and description), total match count, median price, cheapest price, and number of distinct sellers found on the Bazaar x402 marketplace.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "string, search term"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "term": "weather",
  "sample": [
   {
    "resource": "https://weather.payapi.market/current",
    "price_usd": 0.001,
    "description": "Current weather conditions for any global location — temperature, feels-like, humidity, precipitation, wind, and human-r"
   },
   {
    "resource": "https://x402.ottoai.services/weather",
    "price_usd": 0.001,
    "description": "Live weather for any city or lat/lon worldwide. Returns current conditions — temperature, feels-like, humidity, wind and"
   }
  ],
  "matches": 2,
  "median_usd": 0.001,
  "cheapest_usd": 0.001,
  "distinct_sellers": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bazaar-competition-search-pastable-x402-dd6456d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pastable-x402.pages.dev](https://www.zero.xyz/host/pastable-x402.pages.dev/llms.txt)
