Skip to content

Instantly share code, notes, and snippets.

@mdoering
Last active November 10, 2025 15:34
Show Gist options
  • Select an option

  • Save mdoering/f16913c21c645b117539d1cbf36a281c to your computer and use it in GitHub Desktop.

Select an option

Save mdoering/f16913c21c645b117539d1cbf36a281c to your computer and use it in GitHub Desktop.
GBIF Download Query - Dracula Types
{
"creator": "USERNAME",
"notificationAddresses": [
"EMAIL_ADDRESS"
],
"sendNotification": true,
"format": "SIMPLE_CSV",
"checklistKey": "7ddf754f-d193-4cc9-b351-99906754a03b",
"predicate": {
"type": "and",
"predicates": [
{ "type": "isNotNull", "key": "TYPE_STATUS"},
{ "type": "equals", "key": "TAXON_KEY", "value": "6W3C4", "checklistKey": "7ddf754f-d193-4cc9-b351-99906754a03b"}
]
}
}
@mdoering

mdoering commented Nov 9, 2025

Copy link
Copy Markdown
Author

COL checklist key: 7ddf754f-d193-4cc9-b351-99906754a03b
Download API guide: https://techdocs.gbif.org/en/data-use/api-downloads
Darwin Core fields for predicates: https://api.gbif.org/v1/occurrence/download/describe/dwca

curl -i --user USER:PASS -H “Content-Type: application/json" --data @query.json https://api.gbif.org/v1/occurrence/download/request

@mdoering

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment