# Plainchain Bazaar Host Lookup

> Plainchain Bazaar Host Lookup is a paid API for AI agents from plainchain.appin60.com, paid per call via x402, $0.001042/call, status unknown (last checked 2026-10-14).

Returns the list of available pay-per-call blockchain data resources offered by a given host in the Plainchain bazaar, including pricing and usage statistics.

## Facts

- Endpoint: GET https://plainchain.appin60.com/v1/bazaar/host?utm_source=zero.xyz
- Price: $0.001042/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/plainchain-bazaar-host-lookup-695e2405
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M4-64owuDFy4KKTotIJb0

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 plainchain-bazaar-host-lookup-695e2405
```

Example prompt: Look up what blockchain data resources api.onesource.io offers in the Plainchain bazaar, including their prices and how many callers they've had in the last 30 days.

## When to prefer this

Use this endpoint when an agent needs to discover what specific blockchain data resources a known Plainchain host exposes, their prices, and their usage before committing to individual data calls. Prefer this over general blockchain RPC discovery when the host is known to be a Plainchain-compatible bazaar provider.

## Known failure modes

- Missing or invalid 'host' query parameter returns a validation error
- Host not found in the bazaar returns inBazaar: false with empty items list
- Network timeout if the Plainchain service is unavailable
- x402 payment failure if USDC balance on Base is insufficient

## How this service works

Gas, balances, token data, address type, approvals, transaction decoding, x402 receipt verification and verifiable randomness on Base, Arbitrum, Ethereum and Optimism. No API key: pay $0.001-$0.01 per call in USDC on Base via x402.

## Output

Returns a JSON object with the host's bazaar membership status, total resource count, a list of individual resources each with their USD price and 30-day payer count, and aggregate 30-day call and payer statistics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "host"
     ],
     "properties": {
      "host": {
       "type": "string",
       "description": "hostname, e.g. api.example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "host": "api.onesource.io",
  "items": [
   {
    "priceUsd": 0.003,
    "resource": "https://api.onesource.io/api/chain/erc20-balance",
    "payers30d": 560
   }
  ],
  "inBazaar": true,
  "resources": 70,
  "maxPayers30d": 560,
  "totalCalls30d": 12298
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/plainchain-bazaar-host-lookup-695e2405/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from plainchain.appin60.com](https://www.zero.xyz/host/plainchain.appin60.com/llms.txt)
