curl --request POST \
--url https://api.globalwebindex.com/v3/insights/filter \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"categories": [
26,
58
],
"is_trending": true,
"types": [
"report",
"infographic",
"powerpoint",
"chart"
]
},
"limit": 10,
"offset": 0,
"order": "asc or desc",
"order_by": "name or published_at or created_at or updated_at or trending or popularity or id",
"total": 123
}'
{
"insights": [
{
"description": "<string>",
"id": 123,
"images": [
{
"id": 123,
"is_main": true,
"page_preview_thumb_path": "<string>",
"page_thumb_path": "<string>",
"thumb_path": "<string>"
}
],
"name": "<string>"
}
],
"limit": 10,
"offset": 0,
"order": "asc or desc",
"order_by": "name or published_at or created_at or updated_at or trending or popularity or id",
"total": 123
}
Get all insights using filtering.
curl --request POST \
--url https://api.globalwebindex.com/v3/insights/filter \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"categories": [
26,
58
],
"is_trending": true,
"types": [
"report",
"infographic",
"powerpoint",
"chart"
]
},
"limit": 10,
"offset": 0,
"order": "asc or desc",
"order_by": "name or published_at or created_at or updated_at or trending or popularity or id",
"total": 123
}'
{
"insights": [
{
"description": "<string>",
"id": 123,
"images": [
{
"id": 123,
"is_main": true,
"page_preview_thumb_path": "<string>",
"page_thumb_path": "<string>",
"thumb_path": "<string>"
}
],
"name": "<string>"
}
],
"limit": 10,
"offset": 0,
"order": "asc or desc",
"order_by": "name or published_at or created_at or updated_at or trending or popularity or id",
"total": 123
}
Filter Insights body
The body is of type object
.
OK
The response is of type object
.
Was this page helpful?