Skip to content

Batch

Run a batch

POST/batch

1 credit per item

Several operations in one call: up to 25 items on Starter, 100 on Pro and Business. Free has no batch. Each item uses one credit; the call uses one rate-limit slot. Items fail on their own: check ok on each result.

Parameters

NameInTypeDescription
langquery"en" | "de" | "fr"Language of text fields. Free: en.Default: en

Request body

NameTypeDescription
itemsobject[]
items[].op"toxicity" | "care" | "resolve" | "plant"
items[].namestring
items[].idstring
items[].familystring

Response fields

NameTypeDescription
dataobject
data.resultsobject[]
data.results[].indexinteger
data.results[].okboolean
data.results[].dataSame as the single endpoint.
data.results[].errorobject
data.results[].error.codestring
data.results[].error.messagestring
metaobject
meta.plan"free" | "starter" | "pro" | "business"
meta.lang"en" | "de" | "fr"
meta.dataVersionstringData release that answered.
meta.creditsobject[]Data credits to show, e.g. Catalogue of Life (CC BY 4.0).
meta.credits[].namestring
meta.credits[].urlstring
meta.credits[].licensestring
meta.credits[].forstring
meta.attributionobjectFree plan: the attribution you must display.
meta.attribution.requiredboolean
meta.attribution.textstring
meta.attribution.urlstring
meta.creditsUrlstringWhere the full credits are listed (the credits page; JSON at GET /credits).

Responses

  • 200One result per item, in order.
  • 400A parameter is missing or invalid.
  • 401The API key is missing, not valid or revoked.
  • 403Not included in your plan: German or French on Free (plan_lang), or batch on Free (plan_batch). Or the key is not active yet: its account has not accepted the Terms of Service in the dashboard (terms_not_accepted).
  • 429Too many requests per second (rate_limited) or no credits left in this period (quota_exceeded). Wait for Retry-After seconds.
NextCheck health