Instuly Research API
For research companies. Do everything you can do in your research dashboard, from your own systems.
Your key
Sign in to your research dashboard, open the Integration tab and create a key under "API access". It looks like rk_ followed by letters and numbers. It is shown once, so copy it straight away and keep it secret. You can have up to 5 active keys and revoke any of them at any time.
Base address: https://api.instuly.com/research-api/v1
Authorization: Bearer rk_your_key_here
Content-Type: application/json
Limit: 120 calls a minute per key. Errors come back as JSON with an error message (and a code for key problems), using normal statuses: 400 wrong input, 401 bad key, 404 not found, 409 not allowed now, 429 too many calls.
Create a study
curl -X POST https://api.instuly.com/research-api/v1/offers \
-H "Authorization: Bearer rk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"title": "Grocery shopping habits",
"description": "A short survey about how you shop.",
"targetUrl": "https://survey.example.com/s/123",
"payoutCents": 150,
"targetRespondents": 300,
"loiMinutes": 8,
"market": "uk"
}'
| Field | Meaning |
|---|---|
| title, description | What members see. Title up to 120 characters. |
| targetUrl | Your survey address, https only. We add respondent_id to it. |
| payoutCents | What the member earns, in cents (dollars) or pence (UK). 20 to 5000. |
| targetRespondents | Your sample size (quota). |
| loiMinutes | How long it takes, in minutes. |
| market | "uk" to run it for UK members only, paid in pounds from your pound balance. Leave it out for members worldwide, paid in dollars from your dollar balance. |
| targetCountry, targetGender, targetMinAge, targetMaxAge, targetInterests, minDurationSeconds | Optional targeting and speeder floor. Country targeting is not used for UK studies. |
A new study waits for Instuly's approval before members see it. The answer gives its id and status.
Read, pause, resume
GET /offers your studies, with counts
GET /offers/ID/stats live numbers for one study
GET /offers/ID/export.csv results as { filename, csv }, never member details
POST /offers/ID/pause stop new starts
POST /offers/ID/resume start again
PUT /offers/ID/quota {"targetRespondents": 500}
GET /account your balances and postback details
Report results (postback)
When someone finishes, your survey platform calls our postback address with the respondent_id we sent you. This is the same signed postback used by the dashboard; see the Integration tab for your secret and the exact format.
https://api.instuly.com/research/postback?respondent_id=ID&status=complete&ts=UNIX_SECONDS&sig=HEX
sig = HMAC-SHA256(secret, "ID.status.ts") status: complete | screenout | quotafull | terminate
Members are paid only when the signed postback says complete. Calling it twice never pays twice.
Questions? Contact Instuly through your dashboard.