API CatalogSEO Meta Tags API

SEO Meta Tags API

Turn any page, product, or article into an SEO title, meta description, and keyword set in one call. Use it in CMS tools, page builders, ecommerce platforms, and content automation workflows to keep metadata consistent and on-keyword without manual copywriting.

This endpoint is part of the AI Content Generator API.

Open AI Content Generator API on RapidAPI

Base URL and authentication

https://ai-content-generator-api.p.rapidapi.com
HeaderValue
Content-Typeapplication/json
X-RapidAPI-KeyYour RapidAPI key
X-RapidAPI-Hostai-content-generator-api.p.rapidapi.com

See Authentication, Rate limits, and Errors for shared behavior.

Endpoint

POST /v1/content/meta-tags

Request body

FieldTypeRequiredDefaultDescription
page_contentstringYesPage, product, or article content to summarize into metadata. Minimum 20 characters.
page_urlstringNonullPage URL, used for context and branding cues.
target_keywordstringNonullPrimary keyword the title and description should target.

Example request

curl --request POST \
  --url https://ai-content-generator-api.p.rapidapi.com/v1/content/meta-tags \
  --header "Content-Type: application/json" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: ai-content-generator-api.p.rapidapi.com" \
  --data '{"page_content":"ApiMask is a platform of production-ready APIs for developers and startups building SaaS, AI, and automation products.","page_url":"https://apimask.dev","target_keyword":"developer APIs"}'

Example response

{
  "success": true,
  "data": {
    "title": "Production-ready Developer APIs for SaaS, AI & Automation | ApiMask",
    "description": "Build faster with ApiMask, a platform of production-ready developer APIs for SaaS, AI, and automation products.",
    "keywords": ["developer APIs", "SaaS APIs", "AI APIs", "automation APIs"]
  },
  "error": null,
  "meta": {
    "request_id": "req_5d7a1c0e23bb",
    "model": "gpt-4o-mini",
    "prompt_tokens": 220,
    "completion_tokens": 96,
    "cost_usd": 0.00006120
  }
}

Response fields

FieldTypeDescription
titlestringSEO-optimized page title, sized for search result display.
descriptionstringMeta description summarizing the page for search snippets.
keywordsstring[]Suggested keywords related to the content and target keyword.

Tips

  • Pass target_keyword to bias the title and description toward a specific ranking term.
  • Send clean, representative page_content (the main copy, not navigation or boilerplate) for the sharpest output.
  • Include page_url so brand and domain cues can appear in the title.

Errors

Validation failures return INVALID_REQUEST (HTTP 400); auth and quota issues return UNAUTHORIZED (401) or RATE_LIMIT_EXCEEDED (429). See Errors for the full list.