Skip to main content
POST
/
api
/
dune
/
search
/dune/search
curl --request POST \
  --url https://api.anysite.io/api/dune/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "q": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "query": "<string>",
    "@type": "DuneSearchResults",
    "blockchains": [],
    "dashboards": [],
    "queries": [],
    "creators": [],
    "contracts": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
q
string
required

Search keyword (or a contract address)

Minimum string length: 1
count
integer
required

Max number of results to return per category

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

query
string
required
@type
string
default:DuneSearchResults
blockchains
object[]
dashboards
object[]
queries
object[]
creators
object[]
contracts
object[]