APIs / Semrush / Content Rewrite

Semrush: Content Rewrite

Content Rewrite from Semrush as JSON. 1 credit per successful call.

POST /v1/semrush/content-rewriteNeeds terms

Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.

Parameters

Send parameters in the JSON body.

ParameterTypeRequiredAllowed values
toolstringRequiredparagraph-rewriter, sentence-rewriter, paraphrase-generator
categorystringRequiredimprove, simplify, summarize
textstringRequiredUp to 5,000 characters

Example request

cURLshell
curl -X POST "https://api.perceptlayer.com/v1/semrush/content-rewrite" \
  -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"paragraph-rewriter","category":"improve","text":"Coffee is a brewed drink prepared from roasted coffee beans."}'

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.