# Crypto Shark Bazaar – Chain Code Endpoint

> Crypto Shark Bazaar – Chain Code Endpoint is a paid API for AI agents from cryptoshark.duckdns.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Returns blockchain network code/metadata for the Base network, providing chain identification primitives for autonomous agents

## Facts

- Endpoint: GET https://cryptoshark.duckdns.org/chain/code?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-shark-bazaar-chain-code-endpoint-3d068a42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M6H463PgZNkGrWH-YWG1n

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 crypto-shark-bazaar-chain-code-endpoint-3d068a42
```

Example prompt: Can you pull the current blockchain network code and metadata from Crypto Shark Bazaar so I know which chain we're operating on?

## When to prefer this

Choose this endpoint when an AI agent needs a lightweight, low-cost ($0.003 USDC) lookup of Base network chain metadata via x402 micropayment protocol, especially in autonomous agent pipelines that need chain identification without heavier RPC infrastructure.

## Known failure modes

- Invalid or unsupported properties filter returns empty or error response
- Service unavailable due to duckdns dynamic DNS resolution failure
- Payment of 0.003 USDC not completed results in 402 Payment Required
- Stale observedAt timestamp if upstream chain data feed is delayed

## How this service works

Low-cost x402 blockchain primitives, market intelligence, and AI utilities for autonomous agents

## Output

Returns a JSON object containing the network name (e.g. 'base') and an ISO 8601 observedAt timestamp indicating when the chain state was recorded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "base",
  "observedAt": "2026-09-16T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-shark-bazaar-chain-code-endpoint-3d068a42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptoshark.duckdns.org](https://www.zero.xyz/host/cryptoshark.duckdns.org/llms.txt)
