NauTritivadevelopers
Endpoints

Export published foods page by page (for integrators that keep a local copy)

GET/v1/foods

Keyset pagination ordered by updatedAt then id. Pass meta.nextCursor back as cursor until it is null. Use updatedSince for incremental syncs. Each row carries its source and attribution; the caller remains responsible for each source's licence terms.

Parâmetros

sourcestringquery
Comma-separated: insa, off, brand, manual, ext_05
updatedSincestringquery
cursorstringquery
limitintegerquerydefault 200

Respostas

200One page of foods
400Invalid query parameter
401Missing/invalid API key
429Rate limit or quota exceeded
curl "https://nautritiva.vercel.app/v1/foods" \
  -H "Authorization: Bearer $NTV_KEY"
OpenAPI JSON →