API Query Builder
Build and test API queries with our interactive tool
Build Your Query
Generated Code
curl -X GET "https://api.rewardata.com/api/v1/data?country=USA&year=2024" \
-H "X-API-Key: your_api_key_here"
import requests
url = "https://api.rewardata.com/api/v1/data"
params = {"country": "USA", "year": "2024"}
headers = {"X-API-Key": "your_api_key_here"}
response = requests.get(url, params=params, headers=headers)
data = response.json()
print(data)
fetch('https://api.rewardata.com/api/v1/data?country=USA&year=2024', {
headers: {
'X-API-Key': 'your_api_key_here'
}
})
.then(response => response.json())
.then(data => console.log(data));
Example Response
Generate a query above to see a live sample response for your selection.