Skip to main content
POST
/
api
/
l2beat
/
interop
/
protocols
/
search
/l2beat/interop/protocols/search
curl --request POST \
  --url https://api.anysite.io/api/l2beat/interop/protocols/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "chains": [
    "<string>"
  ],
  "protocol_ids": [
    "<string>"
  ]
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "L2beatInteropProtocol",
    "alias": "<string>",
    "description": "<string>",
    "type": "<string>",
    "bridge_types": [],
    "volume": 123,
    "transfer_count": 123,
    "average_value": 123,
    "image": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of results

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
chains
string[] | null

Restrict volume aggregation to these chain slugs

protocol_ids
string[] | null

Restrict to these interoperability protocol slugs

Response

Successful Response

id
string
required
name
string
required
@type
string
default:L2beatInteropProtocol
alias
string | null
description
string | null
type
string | null
bridge_types
string[]
volume
number | null
transfer_count
integer | null
average_value
number | null
image
string | null