> ## 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.

# Search a charity register

> Search one register by name or registration number for a charity that is not on Donate yet. Each entry says whether it is already listed, already requested, can be requested or is not eligible. A charity that is disabled or has opted out is left out. One Donate has hidden is returned by its register name and number, without the image, website, description, city and state Donate holds. Searching never requests anything. At most 10 entries. Register searches have their own budget on top of the normal rate limit. Public: no API key is needed. Send one to use your organization's rate limit.



## OpenAPI

````yaml /openapi.json get /v2/registers/{registerId}/entries
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/registers/{registerId}/entries:
    get:
      tags:
        - Charity requests
      summary: Search a charity register
      description: >-
        Search one register by name or registration number for a charity that is
        not on Donate yet. Each entry says whether it is already listed, already
        requested, can be requested or is not eligible. A charity that is
        disabled or has opted out is left out. One Donate has hidden is returned
        by its register name and number, without the image, website,
        description, city and state Donate holds. Searching never requests
        anything. At most 10 entries. Register searches have their own budget on
        top of the normal rate limit. Public: no API key is needed. Send one to
        use your organization's rate limit.
      operationId: listRegisterEntries
      parameters:
        - name: registerId
          in: path
          required: true
          schema:
            enum:
              - united-states
              - england-wales
              - scotland
              - northern-ireland
              - france
              - japan
              - new-zealand
              - norway
              - netherlands
              - canada
              - australia
            type: string
            description: A register `id` from `GET /v2/registers`.
        - name: term
          in: query
          required: true
          schema:
            type: string
            description: >-
              Charity name or registration number, 1 to 120 characters. An empty
              value is refused.
          allowReserved: true
        - 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:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        registerId:
                          enum:
                            - united-states
                            - england-wales
                            - scotland
                            - northern-ireland
                            - france
                            - japan
                            - new-zealand
                            - norway
                            - netherlands
                            - canada
                            - australia
                          type: string
                          description: A register `id` from `GET /v2/registers`.
                        registrationNumber:
                          type: string
                        name:
                          type: string
                        imageUrl:
                          anyOf:
                            - type: string
                              description: An absolute http or https URL.
                            - type: 'null'
                        websiteUrl:
                          anyOf:
                            - type: string
                              description: An absolute http or https URL.
                            - type: 'null'
                        description:
                          anyOf:
                            - type: string
                            - type: 'null'
                        city:
                          anyOf:
                            - type: string
                            - type: 'null'
                        state:
                          anyOf:
                            - type: string
                            - type: 'null'
                        country:
                          type: string
                          description: ISO 3166-1 alpha-2 code.
                        status:
                          enum:
                            - listed
                            - requested
                            - requestable
                            - ineligible
                          type: string
                          description: >-
                            `listed`: already on Donate, use `charityId`.
                            `requested`: a request exists; read where it stands
                            from `GET
                            /v2/charity-requests/{registerId}/{registrationNumber}`.
                            `requestable`: can be requested. `ineligible`: see
                            `eligibilityIssues`.
                        eligibilityIssues:
                          type: array
                          items:
                            type: string
                        charityId:
                          anyOf:
                            - type: string
                            - type: 'null'
                          description: The charity on Donate, when `status` is `listed`.
                      required:
                        - registerId
                        - registrationNumber
                        - name
                        - imageUrl
                        - websiteUrl
                        - description
                        - city
                        - state
                        - country
                        - status
                        - eligibilityIssues
                        - charityId
                  nextCursor:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - items
                  - nextCursor
              example:
                items:
                  - registerId: united-states
                    registrationNumber: 86-0481941
                    name: Make-A-Wish America
                    imageUrl: https://docs.candid.org/edoc/11142134
                    websiteUrl: https://wish.org/
                    description: >-
                      Together, we create life-changing wishes for children with
                      critical illnesses.
                    city: Phoenix
                    state: AZ
                    country: US
                    status: listed
                    eligibilityIssues: []
                    charityId: 9b4dae4e-d8c1-4322-a594-35a4858296b2
                nextCursor: null
        '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.
        '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
        '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.