{
  "x402Version": 2,
  "id": 33462,
  "slug": "33462",
  "resource": "https://api.blockchain.info/explorer-gateway-kt/x402/btc/blocks",
  "description": "Paid AI-agent access to Blockchain.com Explorer API",
  "type": "http",
  "serviceName": "Blockchain.info API",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x995ffeF6c39234F0bBc95cf0E84FE1B6e6e2d8e0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "blocks": {
            "items": {
              "properties": {
                "bits": {
                  "format": "int64",
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "coinBaseTx": {
                  "anyOf": [
                    {
                      "allOf": [
                        {
                          "properties": {
                            "blockHeight": {
                              "format": "int64",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "blockPosition": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "deleted": {
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "fee": {
                              "format": "int64",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "inputs": {
                              "items": {
                                "properties": {
                                  "address": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "coinbase": {
                                    "type": "boolean"
                                  },
                                  "output": {
                                    "format": "int64",
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "pkscript": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "sequence": {
                                    "format": "int64",
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "sigscript": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "txid": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "value": {
                                    "format": "int64",
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "witness": {
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "required": [
                                  "coinbase",
                                  "witness"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "locktime": {
                              "format": "int64",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "mempool": {
                              "type": "boolean"
                            },
                            "mempoolTime": {
                              "format": "int64",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "outputs": {
                              "items": {
                                "properties": {
                                  "address": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "pkscript": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "spender": {
                                    "properties": {
                                      "input": {
                                        "type": "integer"
                                      },
                                      "txid": {
                                        "type": "string"
                                      }
                                    },
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "spent": {
                                    "type": "boolean"
                                  },
                                  "value": {
                                    "format": "int64",
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "spent"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "rbf": {
                              "type": "boolean"
                            },
                            "size": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "time": {
                              "format": "int64",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "txId": {
                              "type": "string"
                            },
                            "version": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "weight": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "txId",
                            "mempool",
                            "rbf",
                            "inputs",
                            "outputs"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "type": "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"
                },
                "version": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "weight": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "work": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "hash",
                "height",
                "mainchain",
                "txCount"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "currentHeight": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "currentHeight",
          "blocks"
        ],
        "type": "object"
      },
      "format": {
        "const": "application/json"
      },
      "type": {
        "const": "json"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "description": "Get latest BTC blocks (paid via x402)",
      "info": {
        "input": {
          "body": {
            "limit": 10
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "format": "application/json",
          "type": "json"
        }
      },
      "method": "POST",
      "schema": {
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "after": {
                    "description": "Cursor for pagination — block height to start from (inclusive, descending). Omit to start from the current chain tip.",
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "limit": {
                    "default": 10,
                    "description": "Number of blocks to return (capped at 50)",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "const": "json"
              },
              "method": {
                "const": "POST"
              },
              "type": {
                "const": "http"
              }
            },
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "blocks": {
                    "items": {
                      "properties": {
                        "bits": {
                          "format": "int64",
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "coinBaseTx": {
                          "anyOf": [
                            {
                              "allOf": [
                                {
                                  "properties": {
                                    "blockHeight": {
                                      "format": "int64",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "blockPosition": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "deleted": {
                                      "type": [
                                        "boolean",
                                        "null"
                                      ]
                                    },
                                    "fee": {
                                      "format": "int64",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "inputs": {
                                      "items": {
                                        "properties": {
                                          "address": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "coinbase": {
                                            "type": "boolean"
                                          },
                                          "output": {
                                            "format": "int64",
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "pkscript": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "sequence": {
                                            "format": "int64",
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "sigscript": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "txid": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "value": {
                                            "format": "int64",
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "witness": {
                                            "items": {
                                              "type": "string"
                                            },
                                            "type": "array"
                                          }
                                        },
                                        "required": [
                                          "coinbase",
                                          "witness"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "locktime": {
                                      "format": "int64",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "mempool": {
                                      "type": "boolean"
                                    },
                                    "mempoolTime": {
                                      "format": "int64",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "outputs": {
                                      "items": {
                                        "properties": {
                                          "address": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "pkscript": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "spender": {
                                            "properties": {
                                              "input": {
                                                "type": "integer"
                                              },
                                              "txid": {
                                                "type": "string"
                                              }
                                            },
                                            "type": [
                                              "object",
                                              "null"
                                            ]
                                          },
                                          "spent": {
                                            "type": "boolean"
                                          },
                                          "value": {
                                            "format": "int64",
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "spent"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "rbf": {
                                      "type": "boolean"
                                    },
                                    "size": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "time": {
                                      "format": "int64",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "txId": {
                                      "type": "string"
                                    },
                                    "version": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "weight": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "txId",
                                    "mempool",
                                    "rbf",
                                    "inputs",
                                    "outputs"
                                  ],
                                  "type": "object"
                                }
                              ]
                            },
                            {
                              "type": "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"
                        },
                        "version": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "weight": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "work": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "hash",
                        "height",
                        "mainchain",
                        "txCount"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "currentHeight": {
                    "format": "int64",
                    "type": "integer"
                  }
                },
                "required": [
                  "currentHeight",
                  "blocks"
                ],
                "type": "object"
              },
              "format": {
                "const": "application/json"
              },
              "type": {
                "const": "json"
              }
            },
            "type": "object"
          }
        }
      },
      "serviceName": "Explorer Gateway API",
      "tags": [
        "Bitcoin"
      ]
    }
  },
  "tags": [
    "ai-agent",
    "bazaar"
  ],
  "sourceHost": "api.blockchain.info",
  "lastUpdated": "2026-10-08T05:35:42.587Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:35:42.358Z"
  },
  "metadata": {
    "serviceName": "Blockchain.info API",
    "extensions": {
      "bazaar": {
        "description": "Get latest BTC blocks (paid via x402)",
        "info": {
          "input": {
            "body": {
              "limit": 10
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "format": "application/json",
            "type": "json"
          }
        },
        "method": "POST",
        "schema": {
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "properties": {
                    "after": {
                      "description": "Cursor for pagination — block height to start from (inclusive, descending). Omit to start from the current chain tip.",
                      "format": "int64",
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "limit": {
                      "default": 10,
                      "description": "Number of blocks to return (capped at 50)",
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "const": "json"
                },
                "method": {
                  "const": "POST"
                },
                "type": {
                  "const": "http"
                }
              },
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "blocks": {
                      "items": {
                        "properties": {
                          "bits": {
                            "format": "int64",
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "coinBaseTx": {
                            "anyOf": [
                              {
                                "allOf": [
                                  {
                                    "properties": {
                                      "blockHeight": {
                                        "format": "int64",
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "blockPosition": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "deleted": {
                                        "type": [
                                          "boolean",
                                          "null"
                                        ]
                                      },
                                      "fee": {
                                        "format": "int64",
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "inputs": {
                                        "items": {
                                          "properties": {
                                            "address": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "coinbase": {
                                              "type": "boolean"
                                            },
                                            "output": {
                                              "format": "int64",
                                              "type": [
                                                "integer",
                                                "null"
                                              ]
                                            },
                                            "pkscript": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "sequence": {
                                              "format": "int64",
                                              "type": [
                                                "integer",
                                                "null"
                                              ]
                                            },
                                            "sigscript": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "txid": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "value": {
                                              "format": "int64",
                                              "type": [
                                                "integer",
                                                "null"
                                              ]
                                            },
                                            "witness": {
                                              "items": {
                                                "type": "string"
                                              },
                                              "type": "array"
                                            }
                                          },
                                          "required": [
                                            "coinbase",
                                            "witness"
                                          ],
                                          "type": "object"
                                        },
                                        "type": "array"
                                      },
                                      "locktime": {
                                        "format": "int64",
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "mempool": {
                                        "type": "boolean"
                                      },
                                      "mempoolTime": {
                                        "format": "int64",
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "outputs": {
                                        "items": {
                                          "properties": {
                                            "address": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "pkscript": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "spender": {
                                              "properties": {
                                                "input": {
                                                  "type": "integer"
                                                },
                                                "txid": {
                                                  "type": "string"
                                                }
                                              },
                                              "type": [
                                                "object",
                                                "null"
                                              ]
                                            },
                                            "spent": {
                                              "type": "boolean"
                                            },
                                            "value": {
                                              "format": "int64",
                                              "type": [
                                                "integer",
                                                "null"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "spent"
                                          ],
                                          "type": "object"
                                        },
                                        "type": "array"
                                      },
                                      "rbf": {
                                        "type": "boolean"
                                      },
                                      "size": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "time": {
                                        "format": "int64",
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "txId": {
                                        "type": "string"
                                      },
                                      "version": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "weight": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "txId",
                                      "mempool",
                                      "rbf",
                                      "inputs",
                                      "outputs"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "type": "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"
                          },
                          "version": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "weight": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "work": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "hash",
                          "height",
                          "mainchain",
                          "txCount"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "currentHeight": {
                      "format": "int64",
                      "type": "integer"
                    }
                  },
                  "required": [
                    "currentHeight",
                    "blocks"
                  ],
                  "type": "object"
                },
                "format": {
                  "const": "application/json"
                },
                "type": {
                  "const": "json"
                }
              },
              "type": "object"
            }
          }
        },
        "serviceName": "Explorer Gateway API",
        "tags": [
          "Bitcoin"
        ]
      }
    }
  },
  "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": {
      "blocks": [
        {
          "bits": 0,
          "coinBaseTx": null,
          "fees": 0,
          "hash": "string",
          "height": 0,
          "mainchain": true,
          "merkle": "string",
          "nonce": 0,
          "outputs": 0,
          "previous": "string",
          "size": 0,
          "subsidy": 0,
          "time": 0,
          "txCount": 0,
          "version": 0,
          "weight": 0,
          "work": "string"
        }
      ],
      "currentHeight": 0
    },
    "format": null,
    "type": null
  }
}