Chainstack Faucet API

Public Chainstack-operated testnet faucet for Hoodi, Sepolia, BNB Testnet, zkSync Testnet, Scroll Sepolia, and Polygon Amoy. JWT-authenticated POST /v1/faucet/{chain} request endpoint plus a transaction-history endpoint. Also available as a Telegram Mini App and via the Chainstack MCP server.

OpenAPI Specification

chainstack-faucet-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Chainstack Faucet API
  version: 1.0.0
  description: Public testnet faucet for Chainstack-supported networks. Authenticate with the JWT bearer token issued for
    your Chainstack account and request testnet funds for Sepolia, Hoodi, BNB Testnet, zkSync Testnet, Scroll Sepolia, and
    Polygon Amoy. Includes transaction history endpoint.
  contact:
    name: Chainstack API Support
    email: [email protected]
  license:
    name: Chainstack Terms
    url: https://chainstack.com/terms-of-service/
servers:
- url: https://api.chainstack.com/v1/faucet
  description: Production
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
security:
- BearerAuth: []
paths:
  /{chain}:
    post:
      tags:
      - faucet
      summary: Request funds
      operationId: requestFunds
      parameters:
      - name: chain
        in: path
        description: Chainstack Faucet API.
        required: true
        schema:
          type: string
          enum:
          - hoodi
          - sepolia
          - bnb-testnet
          - zksync-testnet
          - scroll-sepolia-testnet
          - amoy
          default: null
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                address:
                  type: string
                  description: The recipient address.
                  example: '0x06f0aB63eD883C61b9e4447fCbD9603dfC189662'
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Funds successfully sent.
        '400':
          description: Address is not valid.
        '401':
          description: Unauthorized access, invalid API key.
        '429':
          description: Too many requests or balance exceeded.
  /transactions-history:
    get:
      summary: Transaction History
      description: Retrieves the transaction history for a specified organization ID.
      tags:
      - History
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Transaction history retrieved successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    protocol:
                      type: string
                      description: The protocol used for the transaction.
                    network:
                      type: string
                      description: The network used for the transaction.
                    amount:
                      type: object
                      properties:
                        $numberDecimal:
                          type: string
                      description: The amount sent in the transaction.
                    address:
                      type: string
                      description: The address to which the amount was sent.
                    userId:
                      type: string
                      description: User ID associated with the transaction.
                    organizationId:
                      type: string
                      description: Organization ID associated with the transaction.
                    transactionHash:
                      type: string
                      nullable: true
                      description: Transaction hash, nullable if not available.
                    timestamp:
                      type: integer
                      description: Timestamp of the transaction in milliseconds.
        '401':
          description: Unauthorized access, invalid API key.
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message.
tags:
- name: Faucet
- name: History