curl --request GET \
--url https://apigw.seomonitor.com/v3/dashboard/v3.0/campaigns/tracked \
--header 'Accept: application/json' \
--header 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzZW9tb25pdG9yLmNvbSIsImlhdCI6MTY1Mjc4NTcwNCwidXNlcl9pZCI6IjY2NTI5In0.2_l9e7ohs9QHbwmr48mIoEF-QxZHNPFiAzJbMk00jcB'
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzZW9tb25pdG9yLmNvbSIsImlhdCI6MTY1Mjc4NTcwNCwidXNlcl9pZCI6IjY2NTI5In0.2_l9e7ohs9QHbwmr48mIoEF-QxZHNPFiAzJbMk00jcB
.--request GET
- Make a GET request--url
- The API endpoint URL--header
- Adds the Authorization header with your API key{
"campaign_info": {
"id": "74516",
"name": "Asos.com",
"company": "Asos",
"company_id": "51256",
"domain": "www.asos.com",
"keyword_count": 588,
"date_created": "2023-04-25",
"location": "United Kingdom",
"currency": "EUR",
"mrr": 3000
},
"visibility": {
"desktop": {
"latest": 0.28,
"trend_7days": 0.2,
"trend_30days": 0.2
},
"mobile": {
"latest": 0.27,
"trend_7days": 0.2,
"trend_30days": 0.2
}
},
"multiple_locations": [
{
"campaign_id": 12746,
"location": "London, United Kingdom",
"visibility": {
"desktop": {
"latest": 0.32,
"trend_7days": 0.02
"trend_30days: 0.1
},
"mobile": {
"latest": 0.33,
"trend": 0.03
"trend_30days": 0.1
}
}
}
}
],
"health_status": "healthy",
"objective_status": {
"actual_sessions": 78400,
"estimated_sessions": 78400,
"performance": 1,
"status": "on_track",
"start_month": "Jun, 2023",
"end_month": "Jul, 2024"
},
"reporting_status": "submitted",
"account_manager": "Jo Hart"
}
Limit | Number of requests |
---|---|
Maximum requests per second | 10 |
Maximum rows per request (Request Quota) | 1000 |
Daily Quota | 10 000 |
{
"error": {
"message": "Daily quota exceeded",
"details": [
"You have exceeded the allowed daily requests"
]
}
}
{
"error": {
"message": "Rate limit exceeded",
"details": [
"You have exceeded the allowed requests per second"
]
}
}
Code | Description |
---|---|
200 | Success |
400 | Bad request - the request was malformed or missing required parameter |
401 | Unauthorized - invalid or missing API key |
403 | Forbidden - API key does not have access to the requested resource |
404 | Not found - the requested resource does not exist |
429 | Too many requests - rate or quota limit exceeded |
500 | Internal server error - an unexpected error on the API server |
50x | Errors specific to various endpoints |
{
"error": {
"message": "Rate limit exceeded",
"details": [
"You have exceeded the allowed requests per second"
]
}
}
message
- A general error messagedetails
- More specific details about the error{
"error": {
"message": "Invalid authentication",
"details": [
"The API key provided is invalid"
]
}
}
{
"error": {
"message": "Forbidden access",
"details": [
"Your API key does not have access to the requested data"
]
}
}
{
"error": {
"message": "Data not found",
"details": [
"The requested data does not exist."
]
}
}
{
"error": {
"message": "Daily quota exceeded",
"details": [
"You have exceeded the allowed daily requests"
]
}
}
{
"error": {
"message": "Rate limit exceeded",
"details": [
"You have exceeded the allowed requests per second"
]
}
}
{
"error": {
"message": "Internal server error",
"details": [
"The server encountered an error while processing your requests"
]
}
}