Skip to main content
POST
/
api
/
otzovik
/
categories
/otzovik/categories
curl --request POST \
  --url https://api.anysite.io/api/otzovik/categories \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "category": "<string>",
  "count": 2,
  "timeout": 300,
  "order": "newest"
}
'
[
  {
    "alias": "<string>",
    "@type": "@otzovik_category_object",
    "name": "<string>",
    "rating": 123,
    "review_count": 123,
    "image": "<string>",
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
category
string
required

Category path ('technology/communication/cellular_phones') or category page URL

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|//[^\s]+|/?[a-z0-9][a-z0-9_\-/]*)$
Example:

"technology/communication/cellular_phones"

count
integer
required

Number of objects to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
order
enum<string>
default:newest

Object ordering

Available options:
newest,
oldest,
name_asc,
name_desc,
rating_desc,
rating_asc

Response

Successful Response

alias
string
required
@type
string
default:@otzovik_category_object
name
string | null
rating
number | null
review_count
integer | null
image
string | null
url
string | null