Keep your code.
Change one line.
Your scripts already post tasks and read the answers back. A2Z answers the same calls, so the script you have posts to A2Z after you change one thing: the address.
No approval and no card. Every sandbox has a test balance that always reads 10,000.00 and can create 2,000 assignments a week, and nobody is paid in it. Not affiliated with the platforms named on this page.
endpoint_url="https://mturk-requester.us-east-1.amazonaws.com", endpoint_url="https://api.a2zboard.com",BASE = "https://ttv.microworkers.com/api/v2"BASE = "https://api.a2zboard.com/microworkers/api/v2"BASE = "https://connect-api.cloudresearch.com/api/v1"BASE = "https://api.a2zboard.com/cloudresearch/api/v1"The red line is what you have today, the amber line is the same line pointed at A2Z. Everything else in your script stays as it is.
A guide for each platform,
with real calls.
Each guide shows your code today and your code with A2Z, what carries over, what behaves differently and what is not available yet. The Microworkers and CloudResearch connectors, for platforms without an official library, are checked by 67 automated checks over the documented calls. Moving from Mechanical Turk? See why A2Z works as a Mechanical Turk alternative.
Mechanical Turk
Tested with the official libraryA2Z follows this platform's request format. Point your client at A2Z; the guide lists the calls we tested and the differences.
Microworkers
BetaNo official library exists, so every client calls the REST address directly. The address is one constant; the API key moves to an A2Z key in the same header.
CloudResearch Connect
BetaConnect is the closest of the research platforms to a HIT marketplace: projects, assignments, approve, reject, bonus. The work happens on your own page and ends with a code.
Five minutes to a task
done in the sandbox.
One block per platform. It posts a task, waits while you do it as a worker, approves it and prints one line.
- Get a sandbox keyOpen a workspace and create an API key. It takes a minute and needs no approval and no card.
- Pick your platform and paste the blockPut your key in the block and paste it into a terminal. It posts one small task to the sandbox.
- Do the task yourselfCreate a worker account, switch on sandbox mode and answer the task. The block sees your answer, approves it and says so.
- Change the line in your own scriptTake the one amber line from the example for your platform. Your script now runs on A2Z, still in the sandbox.
pip install -q boto3 && A2Z_KEY="<access key id>:<secret>" python3 - <<'EOF'
import os, time, boto3
key_id, secret = os.environ["A2Z_KEY"].split(":")
mturk = boto3.client("mturk", region_name="us-east-1", endpoint_url="https://api.a2zboard.com/sandbox",
aws_access_key_id=key_id, aws_secret_access_key=secret)
question = """<HTMLQuestion xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd"><HTMLContent><![CDATA[
<!DOCTYPE html><html><body><form name="mturk_form" method="post" action="https://www.mturk.com/mturk/externalSubmit">
<input type="hidden" name="assignmentId" value=""/><p>Is 120.00 EUR the invoice total?</p>
<label><input type="radio" name="verdict" value="yes" required/> yes</label> <label><input type="radio" name="verdict" value="no"/> no</label>
<input type="submit"/></form><script src="https://s3.amazonaws.com/mturk-public/externalHIT_v1.js"></script></body></html>]]></HTMLContent><FrameHeight>0</FrameHeight></HTMLQuestion>"""
hit = mturk.create_hit(Title="Check an invoice total", Description="Compare a number with a picture", Reward="0.12", MaxAssignments=1,
LifetimeInSeconds=3600, AssignmentDurationInSeconds=600, Question=question)["HIT"]
print("Posted 1 task. Sign in as a worker, switch on sandbox mode and do it. Waiting...")
while True:
done = mturk.list_assignments_for_hit(HITId=hit["HITId"], AssignmentStatuses=["Submitted"])["Assignments"]
if done:
break
time.sleep(10)
for a in done:
mturk.approve_assignment(AssignmentId=a["AssignmentId"], RequesterFeedback="Thank you")
print("Done: approved", len(done), "assignment(s).")
EOFpip install -q requests && A2Z_KEY="<access key id>:<secret>" python3 - <<'EOF'
import os, time, requests
BASE = "https://api.a2zboard.com/sandbox/microworkers/api/v2"
H = {"MicroworkersApiKey": os.environ["A2Z_KEY"]}
html = '<p>Describe <a href="${PICTURE_URL}">this picture</a>.</p><textarea name="summary" required></textarea>'
tpl = requests.post(BASE + "/templates", headers=H, json={"title": "Harbour picture", "htmlCode": html}).json()
r = requests.post(BASE + "/basic-campaigns", headers=H, json={
"title": "Describe harbour pictures", "description": "Describe a picture in a sentence", "paymentPerTask": 0.05,
"minutesToFinish": 10, "ttr": 3, "targetedZone": {"id": "custom", "targetedCountries": ["PT", "DE"]},
"internalTemplate": {"id": tpl["id"], "ratingMethodId": 3},
"tasks": [{"id": "harbour1", "data": [{"key": "PICTURE_URL", "value": "https://pictures.example/harbour-1.png"}]}]})
campaign = requests.get(BASE + "/queue-jobs/" + r.headers["queue-job-id"], headers=H).json()["output"]
print("Posted 1 task. Sign in as a worker, switch on sandbox mode and do it. Waiting...")
while True:
slots = requests.get(BASE + "/basic-campaigns/" + campaign + "/slots", headers=H, params={"status": "NOTRATED"}).json()["items"]
if slots:
break
time.sleep(10)
for s in slots:
requests.put(BASE + "/slots/" + s["id"] + "/rate", headers=H, json={"rating": "OK", "comment": "Well described"})
print("Done: rated", len(slots), "submission(s) OK.")
EOFpip install -q requests && A2Z_KEY="<access key id>:<secret>" python3 - <<'EOF'
import os, time, requests
BASE = "https://api.a2zboard.com/sandbox/cloudresearch/api/v1"
H = {"X-API-KEY": os.environ["A2Z_KEY"]}
project = requests.post(BASE + "/project", headers=H, json={
"name": "Coffee habits", "projectUrl": "https://survey.example/s/abc123", "payment": 0.5, "estimatedTimeInMinutes": 5,
"participants": 1, "systemRequirements": [], "deviceRequirements": ["Desktop", "Mobile"],
"completionSettings": {"projectCompletionType": "CompletionCode", "value": "COFFEE-42"},
"demographicTargeting": {"targetOption": "GenPop"}}).json()["project"]
pid = project["projectId"]
requests.post(BASE + "/project/" + pid + "/update-status", headers=H, json={"status": "Live"})
print("Live with 1 place. Sign in as a worker, switch on sandbox mode, open the survey and enter the code COFFEE-42. Waiting...")
while True:
rows = requests.get(BASE + "/assignments/" + pid, headers=H).json()["assignments"]
if any(a["status"] == "Pending" for a in rows):
break
time.sleep(10)
requests.post(BASE + "/assignments/" + pid + "/approve-all", headers=H, json={"message": "Thank you"})
print("Done: approved the work that carried the code.")
EOFThe block sends your key only to the address in it. In the sandbox the balance always reads 10,000.00.
Nothing to rebuild.
A lot to test.
Moving is a small experiment you can undo. Start in the sandbox, which costs nothing and needs nobody's approval.
Your script stays
Change the address and the key. Your client library, your calls and the way you read answers stay as they are.
Try it in minutes
Open a workspace and create a sandbox key. No approval, no call and no card. Do a task yourself as a worker, and nobody is paid.
Refused by name, never skipped
When your script asks for something A2Z does not do, the answer is an error that names the feature. You never find out later that a rule was quietly ignored.
People who are verified
Workers are verified before they take live work, through a partner or by A2Z, and a worker keeps the same id from one of your batches to the next.
Your work stays yours
Every call runs as the account behind your key and sees only that account's work. The same key check, rate tier and error log apply to every connector.
Run both for a while
Send a share of the work to A2Z and keep the rest where it is. The address is the only switch, so you can move back as easily as you moved.
Your calls arrive in the language
you already speak.
Each platform has its own address, because each speaks its own language. Behind every address the same checks run before anything reaches the A2Z core.
Common questions
Do I have to change my code?
One line, the address your client calls, plus the key in your settings. The rest of the script runs as it is. Where a feature has no A2Z counterpart, the connector answers with an error that names it. It does not skip it quietly.
Can I test without paying?
Yes. Anyone can open a workspace and get a free sandbox key at once, with no approval and no card. Every sandbox has a test balance that always reads 10,000.00 and can create 2,000 assignments a week, and nobody is paid in the sandbox.
What happens to my quality rules?
Review policies with known answers and plurality work on the Mechanical Turk path. Rules that a connector cannot enforce are refused, because accepting them without enforcing them could pay for work you meant to reject. Each platform's guide lists what is refused. You can approve and reject every answer yourself, or tell us which rule you rely on.
Who does the work?
Workers who are verified before live work, through a partner organisation or by A2Z. Worker ids are stable. Histories and qualifications earned on another platform do not move across, and A2Z does not import another platform's crowd.
What does it cost?
You set the task price. A2Z adds one platform fee per program, quoted up front. Connectors add nothing on top. Creating a task reserves the reward plus the fee, and approval spends it.
Is my data kept apart from other requesters?
Yes. A connector has no way around the rules of the API. Each call runs as the account behind your key and can see only that account's work.
Can I run both platforms for a while?
Yes. The address is the only switch, so you can send a share of the work to A2Z and keep the rest where it is, then move the rest when you are ready.
My platform is not on this page.
If it has a public requester API, the same approach applies: one address, one translator. Tell us which platform and we will study it the same way.
Point your script at the sandbox.
Open a workspace, get a free key with no approval and run the block for your platform. If it does not fit, you have spent five minutes and nothing else.
Not affiliated. A2Z is not affiliated with, endorsed by or sponsored by Amazon Mechanical Turk, Microworkers or CloudResearch, and this is not an official integration. Amazon Mechanical Turk and AWS are trademarks of Amazon.com, Inc. or its affiliates. The other platform names on this page are names or marks of their respective owners. The names are used only to say what a client written for them can do with A2Z, as plain text, and none of their logos is used. Compatibility is claimed only where it was tested, and each platform's guide says how. Code on these pages is fictional example code.