Skip to main content
POST
/
api
/
sravni
/
reviews
/
search
/sravni/reviews/search
curl --request POST \
  --url https://api.anysite.io/api/sravni/reviews/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "review_object_type": "banks",
  "tag": "debitCards",
  "order_by": "byDate",
  "filter_by": "all",
  "rated": "any",
  "location_gar_id": "<string>"
}
'
[
  {
    "id": 123,
    "@type": "@sravni_review",
    "title": "<string>",
    "text": "<string>",
    "rating": 123,
    "rating_status": "<string>",
    "created_at": "<string>",
    "review_object_id": "<string>",
    "review_object_type": "<string>",
    "tag": "<string>",
    "specific_product_name": "<string>",
    "author_name": "<string>",
    "author_last_name": "<string>",
    "is_legal": true,
    "is_sravni_client": false,
    "is_recommended": true,
    "problem_solved": false,
    "has_company_response": false,
    "comment_count": 123,
    "positive_vote_count": 123,
    "negative_vote_count": 123,
    "location": {
      "@type": "@sravni_review_location",
      "id": 123,
      "alias": "<string>",
      "name": "<string>",
      "full_name": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of reviews to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
review_object_type
enum<string>
default:banks

Type of organization reviews are about

Available options:
banks,
insuranceCompany,
mfo
tag
string | null

Filter by product category tag

Example:

"debitCards"

order_by
enum<string>
default:byDate

Result ordering

Available options:
byPopularity,
byDate
filter_by
enum<string>
default:all

Review subset

Available options:
all,
withRates
rated
enum<string>
default:any

Filter by rating sentiment

Available options:
any,
good,
bad
location_gar_id
string | null

Filter by GAR location id

Response

Successful Response

id
integer
required
@type
string
default:@sravni_review
title
string | null
text
string | null
rating
integer | null
rating_status
string | null
created_at
string | null
review_object_id
string | null
review_object_type
string | null
tag
string | null
specific_product_name
string | null
author_name
string | null
author_last_name
string | null
is_sravni_client
boolean
default:false
problem_solved
boolean
default:false
has_company_response
boolean
default:false
comment_count
integer | null
positive_vote_count
integer | null
negative_vote_count
integer | null
location
SravniReviewLocation · object