Create ideas

Grows a seed phrase into the phrases nobody named yet.

POST /v1/seo/ideas

Addresshttps://api.hanzo.ai/v1/seo/ideas
MethodPOST
OperationseoIdea
AuthAuthorization: Bearer $HANZO_API_KEY

Grows a seed phrase into the phrases nobody named yet.

It takes phrases you have and returns phrases in the same category that you do not — relevant rather than merely containing the seed — each with its search volume, click cost, competition and how hard its first page is to reach. This is where a keyword list comes FROM; seoKeyword is where a list you already have gets measured.

It is priced per row, so Limit is the knob that decides what the call costs. Total says how many more there were.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
keywordsbodystring[]—Keywords are the seeds.
languagebodystring—Language is the ISO code.
limitbodyinteger (int64)—Limit is how many phrases to return, 1 to 1000.
locationbodyinteger (int64)—Location is the market, as the upstream's numeric code.

Response

StatusBodyMeaning
200seo.seoIdeaOutok
defaultproblem-detailsrefused

200 body — 9 fields.

FieldInTypeAlwaysDescription
costbodystring—Cost is what this call cost, in USD, as an exact decimal string.
keywordsbodyseo.seoMetric[]—Keywords is the phrases found, each measured.
keywords[].competitionbodynumber (double)—Competition is how contested the advertising is, from 0 to 1.
keywords[].cpcbodynumber (double)—CPC is the average cost of one advertising click, in USD.
keywords[].difficultybodyinteger (int64)—Difficulty is how hard the first page is to reach organically, 0 to 100.
keywords[].keywordbodystring—Keyword is the phrase.
keywords[].levelbodystring—Level is the same fact as a word: low, medium or high.
keywords[].volumebodyinteger (int64)—Volume is the average monthly searches.
totalbodyinteger (int64)—Total is how many the upstream holds, which is usually more than Limit returned — it is what raising the limit would reach.

Failure carries the platform error shape — see Errors.

Examples

hanzo seo ideas
import { Configuration, SeoApi } from 'hanzoai';

const api = new SeoApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.seoIdea({ keywords: ["<keywords>"], language: "<language>" });
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import SeoApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = SeoApi(client).seo_idea(keywords=["<keywords>"], language="<language>")
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.SeoAPI.SeoIdea(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, seo_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = seo_api::seo_idea(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.SeoApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new SeoApi(client).seoIdea();
curl -X POST https://api.hanzo.ai/v1/seo/ideas \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "keywords": [
         "<keywords>"
       ],
       "language": "<language>"
     }'

Tool seo, op seoIdea — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "seo",
         "arguments": {
           "op": "seoIdea",
           "input": {
             "keywords": [
               "<keywords>"
             ],
             "language": "<language>"
           }
         }
       }
     }'

SEO API · All Hanzo APIs · Interactive reference

Was this page useful?