Draws
Get draw
Retrieve draw details including winners and tweet metadata
GET
/
draws
/
{id}
Get draw
curl --request GET \
--url https://xquik.com/api/v1/draws/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://xquik.com/api/v1/draws/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://xquik.com/api/v1/draws/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://xquik.com/api/v1/draws/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Free - does not consume credits
curl https://xquik.com/api/v1/draws/f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345 \
-H "x-api-key: xq_YOUR_KEY_HERE" | jq
const drawId = "f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345";
const response = await fetch(`https://xquik.com/api/v1/draws/${drawId}`, {
headers: { "x-api-key": "xq_YOUR_KEY_HERE" },
});
const data = await response.json();
console.log(data);
import requests
draw_id = "f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345"
response = requests.get(
f"https://xquik.com/api/v1/draws/{draw_id}",
headers={"x-api-key": "xq_YOUR_KEY_HERE"},
)
data = response.json()
print(data)
package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
drawID := "f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345"
req, err := http.NewRequest("GET", "https://xquik.com/api/v1/draws/"+drawID, nil)
if err != nil {
log.Fatal(err)
}
req.Header.Set("x-api-key", "xq_YOUR_KEY_HERE")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
body, err := io.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}
fmt.Println(string(body))
}
Path parameters
The draw public ID. Returned when you create a draw or list draws.
Headers
Your API key. This endpoint also accepts session cookie authentication.
Response
- 200 OK
- 401 Unauthenticated
- 404 Not Found
- 429 Rate Limited
Draw details including tweet metadata.
Show draw object
Show draw object
Draw public ID returned by Xquik.
X tweet ID.
Original tweet URL.
Full text content of the tweet.
Username of the tweet author.
Like count at time of draw.
Retweet count at time of draw.
Reply count at time of draw.
Quote tweet count at time of draw.
Draw status (e.g.
completed).Total replies collected.
Entries that passed all filters.
ISO 8601 creation timestamp.
ISO 8601 timestamp of when winners were selected. Present only for completed draws.
{
"draw": {
"id": "f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345",
"tweetId": "1893456789012345678",
"tweetUrl": "https://x.com/xquik/status/1893456789012345678",
"tweetText": "Giveaway time! Reply to enter. 3 winners get a free month of Xquik Pro.",
"tweetAuthorUsername": "xquik",
"tweetLikeCount": 2450,
"tweetRetweetCount": 1820,
"tweetReplyCount": 847,
"tweetQuoteCount": 95,
"status": "completed",
"totalEntries": 847,
"validEntries": 312,
"createdAt": "2026-02-24T10:00:00.000Z",
"drawnAt": "2026-02-24T10:05:00.000Z"
},
"winners": [
{
"position": 1,
"authorUsername": "alice_web3",
"tweetId": "1893456789012345700",
"isBackup": false
},
{
"position": 2,
"authorUsername": "bob_dev",
"tweetId": "1893456789012345701",
"isBackup": false
},
{
"position": 3,
"authorUsername": "charlie_nft",
"tweetId": "1893456789012345702",
"isBackup": false
}
]
}
{ "error": "unauthenticated" }
{ "error": "not_found" }
{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 1 }
Retry-After header before retrying.Related: Export Draw to download results as CSV/XLSX/Markdown · List Draws to see all draws · Create Draw to run a new draw.
Last modified on May 6, 2026
Was this page helpful?
Previous
Export drawExport giveaway draw results in 7 formats including winners and participant data
Next
⌘I
Get draw
curl --request GET \
--url https://xquik.com/api/v1/draws/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://xquik.com/api/v1/draws/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://xquik.com/api/v1/draws/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://xquik.com/api/v1/draws/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}