Features Pricing FAQ API Docs Blog
Signup / Login
Select Page

AI Blog Post Ideas API

Description

Content publishing is an extremely effective strategy for your business' SEO success. Our Blog Post Idea generation API will help out discover topics that you can write about that are relevant to your niche.

Endpoint Cost

2 token/credit per request

Endpoint

> POST https://api.jsonrepo.com/v1/content/ai_blog_post_ideas

Headers

Field Description
X-API-Key Required Your API Key

Parameters

Field Type Description
input String Required the concept description or keyword for which you want the suggestions to be about
Format: English alphanumeric string
Length: 10 <= length <= 120
limit Integer Optional The number of maximum recommendations to be generated by our AI
Default: 10.
Range: 1 <= limit <= 20

Response

A successful request will result in a populated payload field with the expected output.

Response Time:

As you are probably well aware, AI output is bound by the efficiency of the model and the prompt enabling it. The bigger your limit is, the longer the request will take to process. Please be patient as processing the information could sometimes take between 1 and 12 seconds.

Example

// Generate `5` blog post ideas for the keyword `stripe invoice generator`

curl -X POST https://api.jsonrepo.com/v1/content/ai_blog_post_ideas \
-H "X-API-Key: {YOUR_API_KEY_HERE}" \
--data-urlencode "input=stripe invoice generator" \
--data-urlencode "limit=5"
// Server Response

{
    "http_code": 200,
    "http_message": "Ok",
    "timestamp": 1732456267,
    "message": "Successful execution.",
    "payload": {
        "titles": {
            "input": {
                "input": "stripe invoice generator",
                "limit": 5
            },
            "output": [
                "10 Unconventional Ways Stripe Invoice Generator Can Supercharge Your Business",
                "Get Paid Faster: How Stripe Invoice Generator Can Simplify Your Billing Process",
                "Say Goodbye to Billing Headaches: The Power of Stripe Invoice Generator",
                "Stripe Invoice Generator: The Secret to Creating Professional Invoices in Minutes",
                "Maximize Your Cash Flow: Using Stripe Invoice Generator for Efficient Billing"
            ]
        }
    }
}

Errors

A failed request will result in an error output as detailed in Error Rules. If the endpoint validation fails due to missing, badly formatted or invalid parameters, the endpoint will return HTTP code 400 along with a message detailing the error.

// Request without `input` parameter

{
    "http_code": 400,
    "http_message": "Bad Request",
    "timestamp": 1730174652,
    "message": "'input' parameter must be provided as an alphanumeric string of length 10 to 120.",
    "payload": []
}