Dogechain Blocks API

The Blocks API from Dogechain — 1 operation(s) for blocks.

Operations 1

GET /blocks/latest The newest blocks #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dogechain-com:dogechain-com-blocks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dogechain-com-blocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dogechain Com Blocks API
  version: '3'
  contact:
    email: support@block.io
    name: Dogechain
    url: https://dogechain.com/developers
  termsOfService: https://dogechain.com/terms
  description: 'Operations tagged Blocks across 2 of this provider''s published API definitions: openapi.json, dogechain-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dogechain.com/api/v3
security: []
tags:
- name: Blocks
paths:
  /blocks/latest:
    get:
      description: The 10 newest blocks, newest first.
      operationId: getLatestBlocks
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    properties:
                      blocks:
                        items:
                          $ref: '#/components/schemas/BlockSummary'
                        type: array
                    required:
                    - blocks
                    type: object
                  status:
                    const: success
                required:
                - status
                - data
                type: object
          description: Success.
        '429':
          $ref: '#/components/responses/E429'
        '502':
          $ref: '#/components/responses/E502'
        '503':
          $ref: '#/components/responses/E503'
      summary: The newest blocks
      tags:
      - Blocks
    servers:
    - url: https://dogechain.com/api/v3
components:
  responses:
    E503:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: The indexer is catching up; retry shortly.
    E429:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: 'Over the limit: wait Retry-After seconds.'
      headers:
        RateLimit-Limit:
          schema:
            type: integer
        RateLimit-Remaining:
          schema:
            type: integer
        Retry-After:
          schema:
            type: integer
    E502:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fail'
      description: The indexer is unreachable; retry shortly.
  schemas:
    BlockSummary:
      properties:
        difficulty:
          type: string
        height:
          type: integer
        miner:
          type:
          - string
          - 'null'
        num_txs:
          type: integer
        price:
          $ref: '#/components/schemas/Price'
        reward_and_fees:
          $ref: '#/components/schemas/Amount'
        size:
          type: integer
        time:
          description: Unix seconds.
          type: integer
        version:
          type: integer
        weight:
          type:
          - integer
          - 'null'
      required:
      - height
      - time
      - num_txs
      - size
      - weight
      - version
      - miner
      - difficulty
      - reward_and_fees
      - price
      type: object
    Fail:
      properties:
        data:
          properties:
            error_message:
              type: string
          required:
          - error_message
          type: object
        status:
          const: fail
      required:
      - status
      - data
      type: object
    Price:
      description: The DOGE price when the block or transaction was mined; null when unknown.
      properties:
        currency:
          type: string
        value:
          type: string
      required:
      - value
      - currency
      type:
      - object
      - 'null'
    Amount:
      description: DOGE with 8 decimals, as a string.
      examples:
      - '10000.00000000'
      pattern: ^-?[0-9]+\.[0-9]{8}$
      type: string
externalDocs:
  description: For developers, and llms.txt for LLM agents
  url: https://dogechain.com/developers
x-refined-from:
- openapi.json
- dogechain-com-openapi.json