Inokufu Docs
Search…
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
1
"x-rapidapi-key": "SAY-FRIEND-AND-ENTER"
Copied!
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
1
"x-api-key": "SAY-FRIEND-AND-ENTER"
Copied!
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
1
# With shell, you can just pass the correct header with each request
2
curl "api_endpoint_here"
3
-H "x-api-key: SAY-FRIEND-AND-ENTER"
Copied!
1
import requests
2
url = 'api_endpoint_here'
3
headers = {'x-api-key': 'SAY-FRIEND-AND-ENTER'}
4
r = requests.get(url, headers=headers)
5
r.json()
Copied!
1
$key = 'SAY-FRIEND-AND-ENTER';
2
$curl = curl_init('api_endpoint_here');
3
curl_setopt($curl,CURLOPT_CAINFO,__DIR__ . DIRECTORY_SEPARATOR . 'certInokufu.cer');
4
curl_setopt($curl, CURLOPT_HTTPHEADER, array('x-api-key:'.$key));
5
$data = curl_exec($curl);
6
if($data===false){
7
var_dump(curl_error($curl));
8
};
Copied!
1
apiKeySecured = 'SAY-FRIEND-AND-ENTER';
2
const search = async () => {fetch('api_endpoint_here', {headers: {"x-api-key": apiKeySecured}} ).then(function(response) {
3
if(response.ok) {
4
response.json().then(function(json) {
5
const resJson = JSON.stringify(json)
6
//console.log(resJson);
7
return resJson;
8
})}})};
Copied!
For Demo purpose, you can use this API key : demo29331806e87fe8d34d03ddaad2b1b454b58a5b9d4f1385d4f86bb321 but beware both request speed and number of daily calls are limited with this key.