APIs / Semrush / Website Traffic
Semrush: Website Traffic
Website Traffic from Semrush as JSON. 1 credit per successful call.
GET /v1/semrush/website-trafficNeeds terms
Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
domain | string | Required | Up to 253 characters |
Example request
curl "https://api.perceptlayer.com/v1/semrush/website-traffic?domain=semrush.com" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 15 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
covered | boolean |
domain | string |
brand_name | string |
favicon | url |
country | string |
categories | object[] |
actual_date | string |
ranks | object |
authority_score | integer |
visits | integer |
engagement | object |
visits_history | object[] |
device_history | object[] |
traffic_by_country | object[] |