Inokufu Docs
Search…
⌃K

Authentication

Inokufu API Cloud uses API keys to allow access to our APIs.
You can access this API in two ways:
  • Rapid API: this is recommended for small to medium usage. You'll need to create a Rapid API account here, then to subscribe to one of our plan here. Rapid API will then provide you with your Developer API key
  • Direct customer: this is reserved for very high usage and custom needs. If you want to know more about our enterprise plans, please feel free to contact our Inokufu sales team.

Rapid API

API key in header

Inokufu APIs expects for the API key to be included in API requests to the server in a header that looks like the following:
Rapid API
"x-rapidapi-key": "SAY-FRIEND-AND-ENTER"
Make sure to replace SAY-FRIEND-AND-ENTER with your own Developer API key.

Code examples

See here for Rapid API codes example.

Direct Customer

API key in header

Inokufu APIs expects for the API key to be included in API requests to the server in a header that looks like the following:
Direct customer
"x-api-key": "SAY-FRIEND-AND-ENTER"
Make sure to replace SAY-FRIEND-AND-ENTER with your own Developer API key.

Code examples

See below for Direct customer access:
Shell
Python
PHP
Javascript
# With shell, you can just pass the correct header with each request
curl "api_endpoint_here"
-H "x-api-key: SAY-FRIEND-AND-ENTER"
import requests
url = 'api_endpoint_here'
headers = {'x-api-key': 'SAY-FRIEND-AND-ENTER'}
r = requests.get(url, headers=headers)
r.json()
$key = 'SAY-FRIEND-AND-ENTER';
$curl = curl_init('api_endpoint_here');
curl_setopt($curl,CURLOPT_CAINFO,__DIR__ . DIRECTORY_SEPARATOR . 'certInokufu.cer');
curl_setopt($curl, CURLOPT_HTTPHEADER, array('x-api-key:'.$key));
$data = curl_exec($curl);
if($data===false){
var_dump(curl_error($curl));
};
apiKeySecured = 'SAY-FRIEND-AND-ENTER';
const search = async () => {fetch('api_endpoint_here', {headers: {"x-api-key": apiKeySecured}} ).then(function(response) {
if(response.ok) {
response.json().then(function(json) {
const resJson = JSON.stringify(json)
//console.log(resJson);
return resJson;
})}})};