Grow a seed phrase into the phrases nobody named yet
Grows a seed phrase into the phrases nobody named yet.
POST /v1/seo/ideas
| Address | https://api.hanzo.ai/v1/seo/ideas |
| Method | POST |
| Operation | seoIdea |
| Auth | Authorization: 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).
| Field | In | Type | Required | Description |
|---|---|---|---|---|
keywords | body | string[] | — | Keywords are the seeds. |
language | body | string | — | Language is the ISO code. |
limit | body | integer | — | Limit is how many phrases to return, 1 to 1000. |
location | body | integer | — | Location is the market, as the upstream's numeric code. |
Response
| Status | Body | Meaning |
|---|---|---|
200 | seoIdeaOut | ok |
200 body — 9 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
cost | body | string | — | Cost is what this call cost, in USD, as an exact decimal string. |
keywords | body | seoMetric[] | — | Keywords is the phrases found, each measured. |
keywords[].competition | body | number | — | Competition is how contested the advertising is, from 0 to 1. |
keywords[].cpc | body | number | — | CPC is the average cost of one advertising click, in USD. |
keywords[].difficulty | body | integer | — | Difficulty is how hard the first page is to reach organically, 0 to 100. |
keywords[].keyword | body | string | — | Keyword is the phrase. |
keywords[].level | body | string | — | Level is the same fact as a word: low, medium or high. |
keywords[].volume | body | integer | — | Volume is the average monthly searches. |
total | body | integer | — | 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 has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.
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 := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.SeoAPI.SeoIdea(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::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.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new SeoApi(client).seoIdea();The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →
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>"
}'The door declares no tool for seo — tools/list on https://api.hanzo.ai/v1/mcp names the products it does reach. Use HTTP or an SDK.
How is this guide?