Skip to main content
POST
/
api
/
l2beat
/
da
/
projects
/
search
/l2beat/da/projects/search
curl --request POST \
  --url https://api.anysite.io/api/l2beat/da/projects/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "query": "<string>",
  "kind": "public"
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "L2beatDaProject",
    "name_second_line": "<string>",
    "alias": "<string>",
    "image": "<string>",
    "kind": "<string>",
    "economic_security": 123,
    "challenge_mechanism": "<string>",
    "tvs_latest": 123,
    "tvs_seven_days_ago": 123,
    "risks": [],
    "bridges": []
  }
]

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
query
string | null

Filter layers by name (case-insensitive substring)

kind
string | null

Filter by layer kind

Example:

"public"

Response

Successful Response

id
string
required
name
string
required
@type
string
default:L2beatDaProject
name_second_line
string | null
alias
string | null
image
string | null
kind
string | null
economic_security
number | null
challenge_mechanism
string | null
tvs_latest
number | null
tvs_seven_days_ago
number | null
risks
object[]
bridges
object[]