# Goldsky Feeds – Base Chain Blocks

> Goldsky Feeds – Base Chain Blocks is a paid API for AI agents from edge.goldsky.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Returns paginated block-level data for the Base blockchain, including block number, timestamp, hash, author, gas, and transaction count

## Facts

- Endpoint: GET https://edge.goldsky.com/data/blocks/base?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/goldsky-feeds-base-chain-blocks-fc0c12c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U--jc5W6QeYiuIdCbtr0m

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 goldsky-feeds-base-chain-blocks-fc0c12c7
```

Example prompt: Fetch the last 20 blocks on the Base chain from Goldsky Feeds, sorted by block number descending, and show me each block's number, timestamp, author, and transaction count.

## When to prefer this

Choose this endpoint when you need structured, queryable block-level data for the Base blockchain specifically, with filtering by block number range, timestamp range, or specific hash, and require pagination support. Prefer it over raw RPC calls when you want normalized REST responses without managing a JSON-RPC interface, or when you need batch/ranged queries rather than single-block lookups.

## Known failure modes

- Invalid or unrecognized block hash returns empty data array
- Block number outside available range returns empty data
- Insufficient prepaid balance triggers 402 Payment Required
- Invalid cursor value causes pagination error
- Conflicting filter parameters (e.g. number and number_gte simultaneously) may return unexpected results
- Rate limiting if balance is exhausted

## How this service works

Goldsky Feeds: Prediction markets and Chain datasets — prepaid balance, funds ~500 requests at 10 atomic units each

## Output

A paginated JSON array of Base blockchain block objects, each containing chain identifier, block number, timestamp (Unix), block hash, parent hash, author address, block size, gas used, gas limit, base fee per gas, state root, receipts root, transactions root, and transaction count; plus a limit integer and optional next_cursor for pagination.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "hash": {
       "type": [
        "string",
        "null"
       ]
      },
      "sort": {
       "type": [
        "string",
        "null"
       ]
      },
      "limit": {
       "type": [
        "integer",
        "null"
       ]
      },
      "cursor": {
       "type": [
        "string",
        "null"
       ]
      },
      "number": {
       "type": [
        "integer",
        "null"
       ]
      },
      "number_gte": {
       "type": [
        "integer",
        "null"
       ]
      },
      "number_lte": {
       "type": [
        "integer",
        "null"
       ]
      },
      "timestamp_gte": {
       "type": [
        "integer",
        "null"
       ]
      },
      "timestamp_lte": {
       "type": [
        "integer",
        "null"
       ]
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "limit"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "chain",
         "number",
         "timestamp",
         "hash",
         "parent_hash",
         "author",
         "size",
         "receipts_root",
         "transactions_root",
         "state_root",
         "uncles_hash",
         "transaction_count"
        ],
        "properties": {
         "hash": {
          "type": "string"
         },
         "size": {
          "type": "integer"
         },
         "chain": {
          "type": "string"
         },
         "author": {
          "type": "string"
         },
         "number": {
          "type": "integer"
         },
         "gas_used": {
          "type": [
           "integer",
           "null"
          ]
         },
         "gas_limit": {
          "type": [
           "integer",
           "null"
          ]
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/goldsky-feeds-base-chain-blocks-fc0c12c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from edge.goldsky.com](https://www.zero.xyz/host/edge.goldsky.com/llms.txt)
