{
  "x402Version": 2,
  "id": 33421,
  "slug": "33421",
  "resource": "https://api.blockchain.info/explorer-gateway-kt/x402/bch/block",
  "description": "Paid AI-agent access to Blockchain.com Explorer API",
  "type": "http",
  "serviceName": "Blockchain.info API",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x995ffeF6c39234F0bBc95cf0E84FE1B6e6e2d8e0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "aggregates": {
            "type": "object"
          },
          "bits": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "coinbaseTx": {
            "type": [
              "object",
              "null"
            ]
          },
          "fees": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hash": {
            "type": "string"
          },
          "height": {
            "format": "int64",
            "type": "integer"
          },
          "mainchain": {
            "type": "boolean"
          },
          "merkle": {
            "type": [
              "string",
              "null"
            ]
          },
          "nonce": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "outputs": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "previous": {
            "type": [
              "string",
              "null"
            ]
          },
          "size": {
            "type": [
              "integer",
              "null"
            ]
          },
          "subsidy": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "time": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "txCount": {
            "type": "integer"
          },
          "txs": {
            "type": "array"
          },
          "version": {
            "type": [
              "integer",
              "null"
            ]
          },
          "weight": {
            "type": [
              "integer",
              "null"
            ]
          },
          "work": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "hash",
          "height",
          "mainchain",
          "txCount",
          "aggregates"
        ],
        "type": "object"
      },
      "format": {
        "const": "application/json"
      },
      "type": {
        "const": "json"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "description": "Get BCH block by hash or height (paid via x402)",
      "info": {
        "input": {
          "body": {
            "hash": "000000000000000000651ef99cb9fcbe0dadde1d424bd9f15ff20136191a5eec"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "format": "application/json",
          "type": "json"
        }
      },
      "method": "POST",
      "schema": {
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "hash": {
                    "description": "Block hash — exactly 64 hex characters. Provide either hash or height, not both.",
                    "example": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
                    "type": "string"
                  },
                  "height": {
                    "description": "Block height (non-negative integer). Provide either hash or height, not both.",
                    "example": 850000,
                    "format": "int64",
                    "type": "integer"
                  },
                  "includeTransactions": {
                    "default": true,
                    "description": "Set false to omit the `txs` array from the response — several MB smaller on a busy block. `txCount`, `coinbaseTx` and `aggregates` are returned either way, and page the transactions themselves with `/{chain}/block/transactions`.\n",
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "const": "json"
              },
              "method": {
                "const": "POST"
              },
              "type": {
                "const": "http"
              }
            },
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "aggregates": {
                    "type": "object"
                  },
                  "bits": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "coinbaseTx": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "fees": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "hash": {
                    "type": "string"
                  },
                  "height": {
                    "format": "int64",
                    "type": "integer"
                  },
                  "mainchain": {
                    "type": "boolean"
                  },
                  "merkle": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "nonce": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "outputs": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "previous": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "size": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "subsidy": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "time": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "txCount": {
                    "type": "integer"
                  },
                  "txs": {
                    "type": "array"
                  },
                  "version": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "weight": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "work": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "hash",
                  "height",
                  "mainchain",
                  "txCount",
                  "aggregates"
                ],
                "type": "object"
              },
              "format": {
                "const": "application/json"
              },
              "type": {
                "const": "json"
              }
            },
            "type": "object"
          }
        }
      },
      "serviceName": "Explorer Gateway API",
      "tags": [
        "Bitcoin Cash"
      ]
    }
  },
  "tags": [
    "ai-agent",
    "bazaar"
  ],
  "sourceHost": "api.blockchain.info",
  "lastUpdated": "2026-10-08T06:08:48.951Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:48.717Z"
  },
  "metadata": {
    "serviceName": "Blockchain.info API",
    "extensions": {
      "bazaar": {
        "description": "Get BCH block by hash or height (paid via x402)",
        "info": {
          "input": {
            "body": {
              "hash": "000000000000000000651ef99cb9fcbe0dadde1d424bd9f15ff20136191a5eec"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "format": "application/json",
            "type": "json"
          }
        },
        "method": "POST",
        "schema": {
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "properties": {
                    "hash": {
                      "description": "Block hash — exactly 64 hex characters. Provide either hash or height, not both.",
                      "example": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
                      "type": "string"
                    },
                    "height": {
                      "description": "Block height (non-negative integer). Provide either hash or height, not both.",
                      "example": 850000,
                      "format": "int64",
                      "type": "integer"
                    },
                    "includeTransactions": {
                      "default": true,
                      "description": "Set false to omit the `txs` array from the response — several MB smaller on a busy block. `txCount`, `coinbaseTx` and `aggregates` are returned either way, and page the transactions themselves with `/{chain}/block/transactions`.\n",
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "const": "json"
                },
                "method": {
                  "const": "POST"
                },
                "type": {
                  "const": "http"
                }
              },
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "aggregates": {
                      "type": "object"
                    },
                    "bits": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "coinbaseTx": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "fees": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "hash": {
                      "type": "string"
                    },
                    "height": {
                      "format": "int64",
                      "type": "integer"
                    },
                    "mainchain": {
                      "type": "boolean"
                    },
                    "merkle": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "nonce": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "outputs": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "previous": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "size": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "subsidy": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "time": {
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "txCount": {
                      "type": "integer"
                    },
                    "txs": {
                      "type": "array"
                    },
                    "version": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "weight": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "work": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "hash",
                    "height",
                    "mainchain",
                    "txCount",
                    "aggregates"
                  ],
                  "type": "object"
                },
                "format": {
                  "const": "application/json"
                },
                "type": {
                  "const": "json"
                }
              },
              "type": "object"
            }
          }
        },
        "serviceName": "Explorer Gateway API",
        "tags": [
          "Bitcoin Cash"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.blockchain.info",
    "manifest_name": "api.blockchain.info",
    "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": {
      "aggregates": {},
      "bits": 0,
      "coinbaseTx": {},
      "fees": 0,
      "hash": "string",
      "height": 0,
      "mainchain": true,
      "merkle": "string",
      "nonce": 0,
      "outputs": 0,
      "previous": "string",
      "size": 0,
      "subsidy": 0,
      "time": 0,
      "txCount": 0,
      "txs": [
        "value"
      ],
      "version": 0,
      "weight": 0,
      "work": "string"
    },
    "format": null,
    "type": null
  }
}