Facebook Pixel

List All Tools

Lists all the tools you can use with content plans.

Endpoint

GEThttps://nichesss.com/api/tools

Authorization 🔒

Pass your API Key as a Bearer Token.

Request Query Parameters

This endpoint has no request query parameters.

Request Body Parameters

This endpoint has no request body paramters.

Example API calls

Command Line (curl)

curl -H "Authorization: Bearer <YOUR_API_KEY>" -H "Accept: application/json" "https://nichesss.com/api/tools"

JavaScript

fetch('https://nichesss.com/api/tools', {
    method: 'GET',
    headers: {
        'Content-type': 'application/json',
        'Authorization': 'Bearer <YOUR_API_KEY>', // notice the Bearer before your token
    }
})
.then((response) => response.json())
.then((data) => console.log(data));

Python

import requests

url = 'https://nichesss.com/api/tools'
headers = {
    'Content-type': 'application/json',
    'Authorization': 'Bearer <YOUR_API_KEY>',
}

response = requests.get(url, headers=headers)
data = response.json()
print(data)

PHP

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://nichesss.com/api/tools');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization: Bearer <YOUR_API_KEY>';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close ($ch);

$data = json_decode($result, true);

print_r($data);

Ruby

require 'net/http'
require 'json'

uri = URI('https://nichesss.com/api/tools')

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Get.new(uri.request_uri)
request['Content-type'] = 'application/json'
request['Authorization'] = 'Bearer <YOUR_API_KEY>'

response = http.request(request)

puts JSON.parse(response.body)

Sample Response

All responses from the API are JSON

{
    "tools": [
        {
            "name": "Blog Conclusion",
            "id": "LT0zIlJJk",
            "fields": [
                "post_title"
            ],
            "fields_meta": {
                "descriptions": {
                    "post_title": "What was discussed in the article"
                },
                "tips": {
                    "post_title": "Example: Having a good credit score can set you up for financial success"
                }
            }
        },
        {
            "name": "Blog Intro",
            "id": "ZVJReZgVn",
            "fields": [
                "post_title",
                "tone"
            ],
            "fields_meta": {
                "descriptions": {
                    "post_title": "Title of the post",
                    "tone": "Tone"
                },
                "tips": {
                    "post_title": "For example: \"Tips for paying an invoice fast\"",
                    "tone": "example: professional"
                }
            }
        },
        ... more tools ...
    ],
    "success": true
}
all endpoints (20)
Documents
Generations
Languages
Tools