> ## Documentation Index
> Fetch the complete documentation index at: https://docs.donate.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a coin

> One coin: the config its fees pay now, the configs it paid before, what it has donated and where it ranks. Every coin `GET /v2/coins` lists can be read here. A coin that has donated and pays no config now has `config: null` and keeps its totals. A coin that has not donated yet is read from the chain and has zero totals and no rank. An address that pays no config and has donated nothing answers 404, and so does a coin on a chain other than the one the public lists cover. Which config a coin pays is read from the chain and kept for up to 20 minutes, so a coin whose config was attached or changed in that time can still answer 404, `config: null` or the config it paid before. It is read from the fee-sharing accounts of the launchpad whose coins Donate lists publicly: a coin of another launchpad has `config: null` once it has donated, and answers 404 before. Public: no API key is needed. Send one to use your organization's rate limit.



## OpenAPI

````yaml /openapi.json get /v2/coins/{chainId}/{address}
openapi: 3.1.1
info:
  title: Donate API
  version: 2.0.0
  description: >-
    Find charities and campaigns, create donation configs, and read what coins
    and donors have given. Every path starts with its version. Build on `/v2`.
    Its responses hold their own resource and references `{ type, id }` to
    others; every list is `{ items, nextCursor }`; amounts are integer strings
    whose name carries the unit (`UsdE6`, `Atomic`); and every error is `{
    "code": string, "message": string }`. `/v1` is the earlier surface: it keeps
    working, knows only charities, and has its own shapes and error body (`{
    "error": string, "code": string }`). Public reads work without a key and are
    rate limited per IP address; send `donate-api-key` to use the rate limit of
    your organization, which all its keys share. Creating and listing configs,
    reading project analytics and requesting a charity require the key.
servers:
  - url: https://api.donate.gg/api
    description: Every operation path starts with its version.
security: []
tags:
  - name: Beneficiaries
    description: >-
      A beneficiary is something a donation can pay: a charity or a campaign.
      Search for one to name in a config, or resolve the references a config or
      a coin holds into what to show.
  - name: Charities
    description: Registered non-profits listed on Donate.
  - name: Campaigns
    description: >-
      Fundraisers created on Donate or imported from a provider, their donation
      messages and their deposit addresses.
  - name: Configs
    description: >-
      A config is a permanent split: the beneficiaries a donation pays and the
      weight each receives. A donation is made against a config id.
  - name: Coins
    description: >-
      A coin is a token whose fees donate through a config: who it pays, what it
      has given, and how it ranks.
  - name: Donations
    description: >-
      The state of a donation that crosses chains. The donations a charity or a
      campaign has received are listed under Charities and Campaigns.
  - name: Charity requests
    description: >-
      Find a charity in an official register and ask Donate to list it when it
      is not listed yet.
  - name: Reference data
    description: Supported chains and campaign categories.
  - name: Users
    description: People with a Donate profile.
paths:
  /v2/coins/{chainId}/{address}:
    get:
      tags:
        - Coins
      summary: Get a coin
      description: >-
        One coin: the config its fees pay now, the configs it paid before, what
        it has donated and where it ranks. Every coin `GET /v2/coins` lists can
        be read here. A coin that has donated and pays no config now has
        `config: null` and keeps its totals. A coin that has not donated yet is
        read from the chain and has zero totals and no rank. An address that
        pays no config and has donated nothing answers 404, and so does a coin
        on a chain other than the one the public lists cover. Which config a
        coin pays is read from the chain and kept for up to 20 minutes, so a
        coin whose config was attached or changed in that time can still answer
        404, `config: null` or the config it paid before. It is read from the
        fee-sharing accounts of the launchpad whose coins Donate lists publicly:
        a coin of another launchpad has `config: null` once it has donated, and
        answers 404 before. Public: no API key is needed. Send one to use your
        organization's rate limit.
      operationId: getCoin
      parameters:
        - name: chainId
          in: path
          required: true
          schema:
            type: number
            description: >-
              Chain id of the coin. Coins are read on Solana, `101`: any other
              chain answers 404.
        - name: address
          in: path
          required: true
          schema:
            type: string
            description: The coin's address.
        - name: donate-api-key
          in: header
          required: false
          schema:
            type: string
          description: >-
            Optional. Your API key. With it the request counts against your
            organization's rate limit; without it, against the limit of your IP
            address.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  chainId:
                    type: number
                    description: Chain id. 101 is Solana; EVM chains use their EIP-155 id.
                  address:
                    type: string
                  name:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: >-
                      Null when the coin has no usable name: its metadata is
                      unknown, or Donate does not show it.
                  symbol:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: >-
                      Null when the coin has no usable symbol: its metadata is
                      unknown, or Donate does not show its name.
                  decimals:
                    type: number
                  imageUrl:
                    anyOf:
                      - type: string
                        description: An absolute http or https URL.
                      - type: 'null'
                  creatorAddress:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: The coin's creator wallet.
                  hidden:
                    type: boolean
                    description: >-
                      Whether Donate keeps this coin out of its public lists. A
                      hidden coin can still be read by address.
                  config:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                            description: >-
                              The config's 32 bytes as lower-case hex. This is
                              the id in every reference, and the `bytes32` an
                              EVM donation names.
                          idBase58:
                            type: string
                            description: >-
                              The same 32 bytes in base58, which a Solana
                              donation names as a public key.
                          beneficiaries:
                            type: array
                            items:
                              type: object
                              properties:
                                type:
                                  enum:
                                    - charity
                                    - campaign
                                    - user
                                  type: string
                                  description: >-
                                    The kind of recipient. More kinds will be
                                    added: show one you do not know from its
                                    summary.
                                id:
                                  type: string
                                weight:
                                  type: string
                                  description: >-
                                    This recipient's share relative to the other
                                    weights. Not a percentage.
                              required:
                                - type
                                - id
                                - weight
                            description: >-
                              Every recipient of the config. None is ever
                              omitted.
                          createdAt:
                            type: string
                            description: >-
                              RFC 3339 instant in UTC, such as
                              2026-11-19T09:12:04.118Z.
                        required:
                          - id
                          - idBase58
                          - beneficiaries
                          - createdAt
                      - type: 'null'
                    description: >-
                      The config the coin pays now, as read from the chain. The
                      read is kept for up to 20 minutes. Null when the chain
                      names no config for the coin now, for example after its
                      creator pointed its fees elsewhere. What it gave before
                      stays in `stats` and `previousConfigIds`.
                  previousConfigIds:
                    type: array
                    items:
                      type: string
                    description: >-
                      Ids of the other configs the coin has donated through.
                      Read one with `GET /v2/configs/{configId}`.
                  rank:
                    anyOf:
                      - type: number
                      - type: 'null'
                    description: >-
                      Place among visible coins by everything they have donated.
                      Null for a hidden coin.
                  stats:
                    type: object
                    properties:
                      totalUsdE6:
                        type: string
                        description: >-
                          US dollars multiplied by 10^6, as a decimal string.
                          "1250000" is $1.25.
                      pendingUsdE6:
                        type: string
                        description: >-
                          US dollars multiplied by 10^6, as a decimal string.
                          "1250000" is $1.25.
                      settledUsdE6:
                        type: string
                        description: >-
                          US dollars multiplied by 10^6, as a decimal string.
                          "1250000" is $1.25.
                      donationCount:
                        type: number
                      pendingCount:
                        type: number
                      settledCount:
                        type: number
                      firstDonationAt:
                        anyOf:
                          - type: string
                            description: >-
                              RFC 3339 instant in UTC, such as
                              2026-11-19T09:12:04.118Z.
                          - type: 'null'
                      lastDonationAt:
                        anyOf:
                          - type: string
                            description: >-
                              RFC 3339 instant in UTC, such as
                              2026-11-19T09:12:04.118Z.
                          - type: 'null'
                    required:
                      - totalUsdE6
                      - pendingUsdE6
                      - settledUsdE6
                      - donationCount
                      - pendingCount
                      - settledCount
                      - firstDonationAt
                      - lastDonationAt
                    description: Everything this coin has donated, through every config.
                required:
                  - chainId
                  - address
                  - name
                  - symbol
                  - decimals
                  - imageUrl
                  - creatorAddress
                  - hidden
                  - config
                  - previousConfigIds
                  - rank
                  - stats
              example:
                chainId: 101
                address: 2ssMotVbTUfRJev2UnibHzHsoeszPzgwbfsTZPSHpump
                name: Make A Wish
                symbol: Wish
                decimals: 6
                imageUrl: null
                creatorAddress: Ce74gzQGh9u1cg18oGbriCHmFtryfK8imT1GmmpWSqjs
                hidden: false
                config:
                  id: >-
                    0x99fbb793f984a8c5f06693e13af3a2629479beac1c38169ec8b601faad71bce9
                  idBase58: BN5zs4C4zce2XBL3QjqV7LTjE51822i2jX4TPQ8DjM3v
                  beneficiaries:
                    - type: charity
                      id: 9b4dae4e-d8c1-4322-a594-35a4858296b2
                      weight: '100'
                  createdAt: '2026-04-29T17:41:06.212Z'
                previousConfigIds: []
                rank: 2
                stats:
                  totalUsdE6: '181242751330'
                  pendingUsdE6: '0'
                  settledUsdE6: '181242751330'
                  donationCount: 423
                  pendingCount: 0
                  settledCount: 423
                  firstDonationAt: '2026-04-29T18:02:19.000Z'
                  lastDonationAt: '2026-10-28T04:16:10.000Z'
        '400':
          description: '`VALIDATION_ERROR`: The request is invalid.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - VALIDATION_ERROR
                    type: string
                  message:
                    type: string
                  issues:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        code:
                          enum:
                            - required
                            - invalid
                            - too_small
                            - too_large
                            - unknown
                            - duplicate
                          type: string
                        message:
                          type: string
                      required:
                        - path
                        - code
                        - message
                required:
                  - code
                  - message
        '401':
          description: >-
            `UNAUTHENTICATED`: An API key was sent and is not valid. A request
            without a key is never answered 401 here.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    type: string
                    enum:
                      - UNAUTHENTICATED
                  message:
                    type: string
              example:
                code: UNAUTHENTICATED
                message: This API key is not valid.
        '404':
          description: '`NOT_FOUND`: Not found.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - NOT_FOUND
                    type: string
                  message:
                    type: string
                required:
                  - code
                  - message
        '429':
          description: >-
            `RATE_LIMIT_EXCEEDED`: Too many requests. Wait for the time in the
            Retry-After header.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    enum:
                      - RATE_LIMIT_EXCEEDED
                    type: string
                  message:
                    type: string
              example:
                code: RATE_LIMIT_EXCEEDED
                message: >-
                  Too many requests. Wait for the time in the Retry-After
                  header.
        '503':
          description: >-
            `PROVIDER_UNAVAILABLE`: A service this request depends on is
            unavailable. Try again shortly.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - PROVIDER_UNAVAILABLE
                    type: string
                  message:
                    type: string
                required:
                  - code
                  - message
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.