Skip to main content
POST
/
api
/
sravni
/
deposits
/
search
/sravni/deposits/search
curl --request POST \
  --url https://api.anysite.io/api/sravni/deposits/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "amount": 300000,
  "currency": "rub",
  "period_codes": [
    "threeMonth",
    "sixMonth",
    "oneYear"
  ],
  "deposit_types": [],
  "banks": [
    "<string>"
  ]
}
'
[
  {
    "id": "<string>",
    "@type": "@sravni_deposit",
    "name": "<string>",
    "alias": "<string>",
    "rate": "<string>",
    "income": "<string>",
    "final_amount": "<string>",
    "seed_period_days": 123,
    "bank": {
      "id": "<string>",
      "@type": "@sravni_deposit_bank",
      "name": "<string>",
      "full_name": "<string>",
      "alias": "<string>",
      "inn": "<string>",
      "image": "<string>",
      "is_partner": false
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of deposits to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
amount
integer
default:300000

Deposit amount

Required range: x >= 1
currency
enum<string>
default:rub

Deposit currency

Available options:
rub,
usd,
eur,
cny
period_codes
string[] | null

Filter by deposit term codes

Example:
["threeMonth", "sixMonth", "oneYear"]
deposit_types
enum<string>[] | null

Filter by deposit type

Available options:
deposit,
accumulative
banks
string[] | null

Filter by bank ids

Response

Successful Response

id
string
required
@type
string
default:@sravni_deposit
name
string | null
alias
string | null
rate
string | null
income
string | null
final_amount
string | null
seed_period_days
integer | null
bank
SravniDepositBank · object