Skip to main content
POST
/
ai
/
seoOptimize
SEO optimize text (content + metaDescription)
curl --request POST \
  --url https://api.octaviatech.app/cms/ai/seoOptimize \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "text": "<p>Article body…</p>",
  "keyword": "intermittent fasting"
}'
{
  "success": true,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "content": "<p>Optimized content…</p>",
    "metaDescription": "Compelling meta (<= 160 chars)…",
    "tokens": {
      "used": 220,
      "remaining": 9780,
      "limit": 10000
    }
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
text
string
required

Raw text/HTML to optimize

keyword
string

Primary keyword to target

Example:

"intermittent fasting"

Response

OK (optimized)

The response is of type any.