RapidAPI logo

Sign Up

Log In

E-additives

FREE
By petarov
Updated 3 months ago
Food
7.8/10
Popularity Score
937ms
Latency
92%
Success Rate

E-additives API Documentation

E-additives API is a REST based service that brings you information about food additives. Users can search for food additives get information about a single additive, get a list of additive categories, and get information about a single category.

View API Details
GET/additives
GET/additives/search
GET/additives/{code}
GET/categories
GET/categories/{id}
GET/additives

Get a list of food additives.

Authorization:

Authorization key

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
categoryNUMBER
OPTIONALget additives only from given category id
orderSTRING
OPTIONALsort order. One of asc or desc; the default is desc
localeSTRING
OPTIONALeither en or bg; the default is always en
sortSTRING
OPTIONAL
Request Snippet
unirest.get("https://vx-e-additives.p.rapidapi.com/additives?order=asc&locale=en&sort=last_update")
.header("X-RapidAPI-Host", "vx-e-additives.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://vx-e-additives.p.rapidapi.com/additives?order=asc&locale=en&sort=last_update")
.header("X-RapidAPI-Host", "vx-e-additives.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication