# GBIF species search API

Search GBIF Species 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 resolve scientific-name candidates, and scope classification sources.

Documentation: https://openany.si/market/apis/gbif/gbif-species-search-api/?offering=4ca6e6bf-abfe-440e-9a28-c87bdd6c1073
API ID: 4ca6e6bf-abfe-440e-9a28-c87bdd6c1073
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/gbif/v1/species/search
Page update time: 2026-12-03T02:43:52.577Z
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. Price update time: not supplied.
Contract update time: 2026-12-03T02:43:51.011Z. 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": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GBIF species search 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": "Name or words."
        },
        "rank": {
          "type": "string",
          "description": "Rank(s), e.g. species,genus."
        },
        "status": {
          "type": "string",
          "description": "Taxonomic status(es): accepted, doubtful, synonym, heterotypic_synonym, homotypic_synonym, proparte_synonym, misapplied."
        },
        "threat": {
          "type": "string",
          "description": "IUCN threat status(es): extinct, critically_endangered, endangered, vulnerable, near_threatened, least_concern, data_deficient..."
        },
        "habitat": {
          "type": "string",
          "description": "marine, freshwater or terrestrial."
        },
        "name_type": {
          "type": "string",
          "description": "Name type(s): scientific, virus, hybrid, informal, cultivar..."
        },
        "higher_taxon_key": {
          "type": "string",
          "description": "Within these taxon keys."
        },
        "extinct": {
          "type": "boolean",
          "description": "Extinct taxa."
        },
        "dataset_key": {
          "type": "string",
          "description": "Checklist dataset key (default the GBIF Backbone)."
        },
        "all_checklists": {
          "type": "boolean",
          "description": "Search every checklist instead of the Backbone."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page, 1-20 (default 20)."
        },
        "offset": {
          "type": "integer",
          "description": "Results to skip."
        },
        "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."
        }
      }
    },
    "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": "string"
          },
          "canonical_name": {
            "type": "null"
          },
          "class": {
            "type": "string"
          },
          "common_name": {
            "type": "null"
          },
          "common_names": {
            "type": "array",
            "items": {}
          },
          "dataset_key": {
            "type": "string"
          },
          "description": {
            "type": "null"
          },
          "extinct": {
            "type": "boolean"
          },
          "family": {
            "type": "string"
          },
          "genus": {
            "type": "string"
          },
          "habitats": {
            "type": "array",
            "items": {}
          },
          "key": {
            "type": "integer"
          },
          "kingdom": {
            "type": "string"
          },
          "nub_key": {
            "type": "integer"
          },
          "num_descendants": {
            "type": "integer"
          },
          "num_occurrences": {
            "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": "string"
          },
          "synonym": {
            "type": "boolean"
          },
          "threat_statuses": {
            "type": "array",
            "items": {}
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "next_offset": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/gbif/v1/species/search?limit=1&output=json&q=puma&rank=species&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:26.688Z",
  "items": [
    {
      "accepted": null,
      "accepted_key": null,
      "authorship": "",
      "canonical_name": null,
      "class": "Revtraviricetes",
      "common_name": null,
      "common_names": [],
      "dataset_key": "d7dddbf4-2cf0-4f39-9b2a-bb099caae36c",
      "description": null,
      "extinct": false,
      "family": "Retroviridae",
      "genus": "Lentivirus",
      "habitats": [],
      "key": 9827094,
      "kingdom": "Viruses",
      "nub_key": 9827094,
      "num_descendants": 0,
      "num_occurrences": 0,
      "order": "Ortervirales",
      "parent": "Lentivirus",
      "parent_key": 10430208,
      "phylum": "Artverviricota",
      "published_in": null,
      "rank": "species",
      "scientific_name": "Puma lentivirus",
      "species": "Puma lentivirus",
      "status": "accepted",
      "synonym": false,
      "threat_statuses": [],
      "url": "https://www.gbif.org/species/9827094"
    }
  ],
  "next_offset": 1,
  "offset": 0,
  "total": 145
}
```

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

## Available implementations
- apish: https://openany.si/market/apis/gbif/gbif-species-search-api/?offering=4ca6e6bf-abfe-440e-9a28-c87bdd6c1073

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