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.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
tool | string | Required | paragraph-rewriter, sentence-rewriter, paraphrase-generator |
category | string | Required | improve, simplify, summarize |
text | string | Required | Up to 5,000 characters |
Example request
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.