# GBIF species name autocomplete API

Get GBIF Taxon Autocomplete data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, q, and retrieve structured data including GBIF taxon key, scientific taxon name, canonical taxon name, taxonomic rank, and taxonomic status to build scientific-name pickers, and resolve a chosen profile.

Documentation: https://openany.si/gbif/gbif-species-name-autocomplete-api/196c4b97-ea81-4252-bc12-5065bb337566/
API ID: 196c4b97-ea81-4252-bc12-5065bb337566
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/gbif/v1/species/suggest
Page update time: 2026-12-03T02:43:46.354Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:43:46.015Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## GBIF Taxon Autocomplete API

q is required and represents the start of a name. limit ranges from 1 to 100 (default 10); this endpoint exposes no offset parameter.

## What You Can Build

- **Build scientific-name pickers**: Use a bounded limit for suggestions.
- **Resolve a chosen profile**: Pass the chosen key to Species Details.

## Returned Data

| Field | Meaning |
| --- | --- |
| `items[].key` | GBIF taxon key |
| `items[].scientific_name` | Scientific taxon name |
| `items[].canonical_name` | Canonical taxon name |
| `items[].rank` | Taxonomic rank |
| `items[].status` | Taxonomic status |
| `items[].parent_key` | Parent taxon identifier |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GBIF species name autocomplete API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Start of a name."
        },
        "rank": {
          "type": "string",
          "description": "Only this rank."
        },
        "status": {
          "type": "string",
          "description": "Only these statuses."
        },
        "limit": {
          "type": "integer",
          "description": "Suggestions, 1-100 (default 10)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "q"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accepted": {
            "type": "null"
          },
          "accepted_key": {
            "type": "null"
          },
          "authorship": {
            "type": "null"
          },
          "canonical_name": {
            "type": "string"
          },
          "class": {
            "type": "string"
          },
          "common_name": {
            "type": "null"
          },
          "dataset_key": {
            "type": "null"
          },
          "extinct": {
            "type": "null"
          },
          "family": {
            "type": "string"
          },
          "genus": {
            "type": "string"
          },
          "key": {
            "type": "integer"
          },
          "kingdom": {
            "type": "string"
          },
          "nub_key": {
            "type": "integer"
          },
          "order": {
            "type": "string"
          },
          "parent": {
            "type": "string"
          },
          "parent_key": {
            "type": "integer"
          },
          "phylum": {
            "type": "string"
          },
          "published_in": {
            "type": "null"
          },
          "rank": {
            "type": "string"
          },
          "scientific_name": {
            "type": "string"
          },
          "species": {
            "type": "string"
          },
          "status": {
            "type": "null"
          },
          "synonym": {
            "type": "boolean"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "query": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/gbif/v1/species/suggest?limit=1&output=json&q=puma+con&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 1,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:26:27.114Z",
  "items": [
    {
      "accepted": null,
      "accepted_key": null,
      "authorship": null,
      "canonical_name": "Puma concolor",
      "class": "Mammalia",
      "common_name": null,
      "dataset_key": null,
      "extinct": null,
      "family": "Felidae",
      "genus": "Puma",
      "key": 2435099,
      "kingdom": "Animalia",
      "nub_key": 2435099,
      "order": "Carnivora",
      "parent": "Puma",
      "parent_key": 2435098,
      "phylum": "Chordata",
      "published_in": null,
      "rank": "species",
      "scientific_name": "Puma concolor (Linnaeus, 1771)",
      "species": "Puma concolor",
      "status": null,
      "synonym": false,
      "url": "https://www.gbif.org/species/2435099"
    }
  ],
  "query": "puma con"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What does q represent?
Supply the start of a taxon name rather than an occurrence identifier.

### How many suggestions can I request?
limit accepts 1–100 and defaults to 10.

### Can I paginate suggestions?
No offset or cursor parameter is exposed.

### Can I restrict taxonomic rank or status?
Use rank and status filters.

### Is the first result necessarily the intended species?
No. Compare scientific_name, rank and status, then retain the selected key.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or use output=json.

## Available implementations
- apish: https://openany.si/gbif/gbif-species-name-autocomplete-api/196c4b97-ea81-4252-bc12-5065bb337566/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
