Classic(Deprecated)
Data Cloud SQL Query (Classic)
POST
/
dw
/
query
Example
Query the hashes of the last 3,000 blocks in Ethereum and the number of transactions in each block:
If there are more than 1000 rows, you need to paginate through thetask_id
and page
to get all the results:
🚧 Note
- When
quey_id
is passed in, the content of query will be ignored - The executed request generates a
task_id
, which is valid for 1 hour - A maximum of 100,000 pieces of data are allowed to be obtained from the request, and 1,000 results are paginated per page
Headers
X-API-KEY
string
requiredContent-Type
string
requiredBody
application/json
query
string