# GBIF species API

Get GBIF Species Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as key, output, raw, and retrieve structured data including GBIF taxon key, scientific taxon name, canonical taxon name, taxonomic rank, and taxonomic status to normalize species references, and build taxonomy navigation.

Documentation: https://openany.si/gbif/gbif-species-api/b0b9621f-4278-4abb-9e3c-998663053fef/
API ID: b0b9621f-4278-4abb-9e3c-998663053fef
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/gbif/v1/species
Page update time: 2026-12-03T02:43:46.296Z
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:45.703Z. 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 Species Details API

key resolves a taxon profile. language requests a common-name locale; classification\[\], status and accepted-key fields help interpret the scientific identity.

## What You Can Build

- **Normalize species references**: Store key and scientific\_name together.
- **Build taxonomy navigation**: Use parent\_key and classification.

## Returned Data

| Field | Meaning |
| --- | --- |
| `key` | GBIF taxon key |
| `scientific_name` | Scientific taxon name |
| `canonical_name` | Canonical taxon name |
| `rank` | Taxonomic rank |
| `status` | Taxonomic status |
| `parent_key` | Parent taxon identifier |
| `classification` | Taxonomic hierarchy |
| `iucn_red_list` | Available conservation classification metadata |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GBIF species 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": {
        "key": {
          "type": "string",
          "description": "GBIF species key or a gbif.org/species link."
        },
        "language": {
          "type": "string",
          "description": "Common name language (ISO 639, e.g. en)."
        },
        "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": [
        "key"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "accepted": {
      "type": "null"
    },
    "accepted_key": {
      "type": "null"
    },
    "authorship": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "canonical_name": {
      "type": "string"
    },
    "class": {
      "type": "string"
    },
    "classification": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "rank": {
            "type": "string"
          }
        }
      }
    },
    "common_name": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "dataset_key": {
      "type": "string"
    },
    "extinct": {
      "type": "null"
    },
    "family": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "genus": {
      "type": "string"
    },
    "iucn_red_list": {
      "type": "object",
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "usage_key": {
          "type": "integer"
        }
      }
    },
    "key": {
      "type": "integer"
    },
    "kingdom": {
      "type": "string"
    },
    "metrics": {
      "type": "object",
      "properties": {
        "key": {
          "type": "integer"
        },
        "numChildren": {
          "type": "integer"
        },
        "numClass": {
          "type": "integer"
        },
        "numDescendants": {
          "type": "integer"
        },
        "numFamily": {
          "type": "integer"
        },
        "numGenus": {
          "type": "integer"
        },
        "numOrder": {
          "type": "integer"
        },
        "numPhylum": {
          "type": "integer"
        },
        "numSpecies": {
          "type": "integer"
        },
        "numSubgenus": {
          "type": "integer"
        },
        "numSynonyms": {
          "type": "integer"
        }
      }
    },
    "nub_key": {
      "type": "integer"
    },
    "num_descendants": {
      "type": "integer"
    },
    "occurrences_count": {
      "type": "integer"
    },
    "order": {
      "type": "string"
    },
    "parent": {
      "type": "string"
    },
    "parent_key": {
      "type": "integer"
    },
    "phylum": {
      "type": "string"
    },
    "profiles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "extinct": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "freshwater": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "habitat": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "life_form": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "living_period": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "marine": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "mass_g": {
            "type": "null"
          },
          "size_cm": {
            "type": "null"
          },
          "source": {
            "type": "string"
          },
          "terrestrial": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "boolean"
              }
            ]
          }
        }
      }
    },
    "published_in": {
      "type": "string"
    },
    "rank": {
      "type": "string"
    },
    "scientific_name": {
      "type": "string"
    },
    "species": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "synonym": {
      "type": "null"
    },
    "url": {
      "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?key=2435099&output=json&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
{
  "accepted": null,
  "accepted_key": null,
  "authorship": "(Linnaeus, 1771) ",
  "cached": false,
  "canonical_name": "Puma concolor",
  "class": "Mammalia",
  "classification": [
    {
      "key": 1,
      "name": "Animalia",
      "rank": "kingdom"
    },
    {
      "key": 44,
      "name": "Chordata",
      "rank": "phylum"
    },
    {
      "key": 359,
      "name": "Mammalia",
      "rank": "class"
    },
    {
      "key": 732,
      "name": "Carnivora",
      "rank": "order"
    },
    {
      "key": 9703,
      "name": "Felidae",
      "rank": "family"
    },
    {
      "key": 2435098,
      "name": "Puma",
      "rank": "genus"
    }
  ],
  "common_name": "puma",
  "credits_used": 1,
  "dataset_key": "d7dddbf4-2cf0-4f39-9b2a-bb099caae36c",
  "extinct": null,
  "family": "Felidae",
  "fetched_at": "2026-11-19T12:26:22.083Z",
  "genus": "Puma",
  "iucn_red_list": {
    "category": "LEAST_CONCERN",
    "code": "LC",
    "usage_key": 176685119
  },
  "key": 2435099,
  "kingdom": "Animalia",
  "metrics": {
    "key": 2435099,
    "numChildren": 7,
    "numClass": 0,
    "numDescendants": 7,
    "numFamily": 0,
    "numGenus": 0,
    "numOrder": 0,
    "numPhylum": 0,
    "numSpecies": 0,
    "numSubgenus": 0,
    "numSynonyms": 6
  },
  "nub_key": 2435099,
  "num_descendants": 7,
  "occurrences_count": 32199,
  "order": "Carnivora",
  "parent": "Puma",
  "parent_key": 2435098,
  "phylum": "Chordata",
  "profiles": [
    {
      "extinct": null,
      "freshwater": null,
      "habitat": null,
      "life_form": null,
      "living_period": null,
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "Mamíferos de Colombia",
      "terrestrial": null
    },
    {
      "extinct": false,
      "freshwater": null,
      "habitat": null,
      "life_form": null,
      "living_period": "4.9 to 0.0 Ma",
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "The Paleobiology Database",
      "terrestrial": null
    },
    {
      "extinct": null,
      "freshwater": null,
      "habitat": "Bosque de tierra firme que no se inundan y planos que se inundan",
      "life_form": null,
      "living_period": null,
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "Mamíferos presentes en los alrededores del Centro de Investigaciones Ecológicas La Macarena (CIEM), Parque Nacional Natural Tinigua, Meta, Colombia",
      "terrestrial": null
    },
    {
      "extinct": null,
      "freshwater": null,
      "habitat": "Bosque ripario",
      "life_form": null,
      "living_period": null,
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "Listado de plantas, aves y mamíferos de la reserva biológica y estación científica Tomogrande, Vichada, Colombia",
      "terrestrial": null
    },
    {
      "extinct": null,
      "freshwater": false,
      "habitat": null,
      "life_form": null,
      "living_period": null,
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "Mamíferos (Mammalia) del departamento de Caldas, Colombia",
      "terrestrial": true
    },
    {
      "extinct": null,
      "freshwater": null,
      "habitat": "TERRESTRE",
      "life_form": "VIDA_LIVRE_INDIVIDUAL",
      "living_period": null,
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "Catálogo Taxonômico da Fauna do Brasil",
      "terrestrial": null
    },
    {
      "extinct": false,
      "freshwater": null,
      "habitat": null,
      "life_form": null,
      "living_period": null,
      "marine": null,
      "mass_g": null,
      "size_cm": null,
      "source": "Catalogue of Life",
      "terrestrial": null
    },
    {
      "extinct": null,
      "freshwater": false,
      "habitat": null,
      "life_form": null,
      "living_period": null,
      "marine": false,
      "mass_g": null,
      "size_cm": null,
      "source": "World Register of Marine Species",
      "terrestrial": true
    }
  ],
  "published_in": "Mantissa Plantarum vol.2 p.266",
  "rank": "species",
  "scientific_name": "Puma concolor (Linnaeus, 1771)",
  "species": "Puma concolor",
  "status": "accepted",
  "synonym": null,
  "url": "https://www.gbif.org/species/2435099"
}
```

## 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
### Is key always a species-level taxon?
Read rank; GBIF taxon identifiers can refer to different taxonomic ranks.

### How do I request a common-name language?
Set language using an ISO 639 code such as en.

### Does a common name replace the scientific identifier?
No. Keep the returned key and scientific_name for identity.

### Where can I find alternative names?
Use Species Common Names or Species Synonyms as appropriate.

### Is conservation metadata always available?
No. Preserve missing conservation values rather than inferring a status.

### 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-api/b0b9621f-4278-4abb-9e3c-998663053fef/

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