GET /api/gravity/v3/gravity/search
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/gravity/v3/gravity/searchCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeGravity posts matching a word (text, likes, comments, time).
name=gravity_search. Bare list. start=1 returned 10 posts.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
word | query | str | required | Verified value bitcoin. example: bitcoin |
start | query | str | required | 1-based row offset. example: 1 |
latestSort | query | str | required | Verified value is the string false. example: false |
Response
type: array
pagination: none
sample: {
"len": "10",
"[0]": "object",
"[0].gravityId": "379930568",
"[0].rootId": "379930568",
"[0].textContent": "ROBINHOOD ADDS $25M BITCOIN TO CORPORATE BALANCE SHEET\n\n$BTC #Bitcoin",
"[0].commentCount": "1",
"[0].likeCount": "1",
"[0].isLiked": "false"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/api/gravity/v3/gravity/search?word=bitcoin&start=1&latestSort=false"