Skip to main content
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

id
string
required
The draw public ID. Returned when you create a draw or list draws.

Headers

x-api-key
string
required
Your API key. This endpoint also accepts session cookie authentication.

Response

draw
object
Draw details including tweet metadata.
winners
array
Selected winners and backup winners ordered by position.
{
  "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
    }
  ]
}
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