apyhub
MARKETING · SEO

Expand Related Keywords API

What it does

Keyword Expansion expands a single keyword into a list of related keywords. Send a keyword query parameter, and optionally set limit to control how many results you get back.

Use it when you need keyword ideas for SEO research, topic clustering, content planning, or ad group expansion. The response returns the original query and a results array of related keyword objects.

Each result includes the related keyword, a numeric score, and pair_count, so you can sort, filter, or rank suggestions in your own app. limit accepts values from 1 to 200, with a default of 25, which makes it easy to keep responses small during interactive workflows or request more candidates in batch jobs.

If you're building a content tool, search workflow, or campaign generator, Keyword Expansion gives you structured related-keyword data without having to scrape suggestion sources yourself.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.