{"openapi":"3.1.0","info":{"title":"Request a Human","version":"1","description":"A real person answers questions and does small real-world tasks for AI agents. Pay per request in USDC with x402. Read https://agents.requestahuman.com/llms.txt for when to use it."},"servers":[{"url":"https://agents.requestahuman.com"}],"paths":{"/":{"get":{"summary":"Service description, current prices and availability (free)","responses":{"200":{"description":"JSON"}}}},"/ask/closed":{"post":{"summary":"Closed question: a human picks one of your options","description":"Human judgment API: ask a real person a multiple-choice question. Does this message sound sincere, which option would people prefer, should I go ahead before an irreversible action (human approval)? Send 'question' and 2-6 'options'; a human picks one within 24 h. Pass callback_url or poll status_url. Free tier: POST /ask/free. Not for facts or code. Declined or late: refunded. Payment: x402, 1 USDC.","x-payment":{"protocol":"x402","asset":"USDC","network":"eip155:8453","price":"1 USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","description":"What you need from the human, at most 50 words."},"context":{"type":"string","description":"Background and constraints, at most 200 words."},"refund_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Where refunds go (default: the paying address)."},"follow_up_of":{"type":"string","pattern":"^[0-9a-f]{16}$","description":"job_id of an earlier request: the same person answers and sees it."},"callback_url":{"type":"string","format":"uri","maxLength":500,"pattern":"^https://","description":"Optional webhook: an https URL (port 443 or 8443, public host) that receives the result as a signed POST, so you need not poll. The paid response contains the signing secret."},"options":{"type":"array","items":{"type":"string","maxLength":100},"minItems":2,"maxItems":6,"description":"Answer options; the human picks one."}},"required":["question","options"]},"examples":{"example1":{"summary":"How a message lands with a real person.","value":{"question":"Does this apology sound sincere or defensive?","context":"Message to a customer: 'We're sorry you feel the delivery was late. Our records show it left on time, but we value your feedback.'","options":["sincere","defensive","mixed"]}},"example2":{"summary":"A sanity check from someone who knows what people mean, before an action that cannot be undone.","value":{"question":"Would you book this for my user, or check with them first?","context":"User asked for 'a cheap weekend in Lisbon in May'. Best match: non-refundable flight and hotel, 412 EUR, out Friday 06:10, back Sunday 23:45.","options":["book it","ask the user first","don't book"]}},"example3":{"summary":"Human taste and trust, not a statistical guess.","value":{"question":"Which name would make you trust a baby food brand most?","options":["Little Spoon","NutriBaby","Mila's Kitchen"]}}}}}},"responses":{"200":{"description":"Paid and accepted. Poll status_url.","content":{"application/json":{"example":{"job_id":"3f9c2a7b1d4e8f60","kind":"standard","price_usdc":1.0,"status_url":"https://agents.requestahuman.com/jobs/3f9c2a7b1d4e8f60","status":"open","answer_due_at":"2026-10-11T09:00:00+00:00","poll":"Pass callback_url with the request to have the result pushed to you. Otherwise GET the status_url every 30-60 seconds (free), or add ?wait=50 to hold the request open until something changes."}}}},"402":{"description":"Payment required (x402). Pay and retry the same request."},"422":{"description":"Invalid request. Nothing was charged."},"503":{"description":"Paused, full, or rush closed. Nothing was charged."}}}},"/ask/open":{"post":{"summary":"Open question: a short written answer from a human","description":"Human feedback on writing, tone and wording from a real person: an opinion, a moral or social call, taste, a native-speaker check of a sentence, a second opinion. Send 'question' (and optional 'context'); a human writes a short answer within 24 h. Pass callback_url or poll status_url; follow_up_of continues a conversation. Not for facts or code. Declined or late: refunded. Payment: x402, 3 USDC.","x-payment":{"protocol":"x402","asset":"USDC","network":"eip155:8453","price":"3 USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","description":"What you need from the human, at most 50 words."},"context":{"type":"string","description":"Background and constraints, at most 200 words."},"refund_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Where refunds go (default: the paying address)."},"follow_up_of":{"type":"string","pattern":"^[0-9a-f]{16}$","description":"job_id of an earlier request: the same person answers and sees it."},"callback_url":{"type":"string","format":"uri","maxLength":500,"pattern":"^https://","description":"Optional webhook: an https URL (port 443 or 8443, public host) that receives the result as a signed POST, so you need not poll. The paid response contains the signing secret."}},"required":["question"]},"examples":{"example1":{"summary":"A moral compass and social nuance.","value":{"question":"My user wants to send this to a colleague who took credit for their work. Is it fair or too harsh? What would you change?","context":"'Interesting to see my analysis in your slides. Next time, maybe mention where it came from?'"}},"example2":{"summary":"Native-speaker intuition: grammatically correct is not the same as natural.","value":{"question":"Does this Dutch sentence sound natural to a native speaker? Rewrite it if not.","context":"'Wij zijn verheugd u te informeren dat uw bestelling succesvol is verzonden en binnenkort zal arriveren.'"}}}}}},"responses":{"200":{"description":"Paid and accepted. Poll status_url.","content":{"application/json":{"example":{"job_id":"3f9c2a7b1d4e8f60","kind":"standard","price_usdc":3.0,"status_url":"https://agents.requestahuman.com/jobs/3f9c2a7b1d4e8f60","status":"open","answer_due_at":"2026-10-11T09:00:00+00:00","poll":"Pass callback_url with the request to have the result pushed to you. Otherwise GET the status_url every 30-60 seconds (free), or add ?wait=50 to hold the request open until something changes."}}}},"402":{"description":"Payment required (x402). Pay and retry the same request."},"422":{"description":"Invalid request. Nothing was charged."},"503":{"description":"Paused, full, or rush closed. Nothing was charged."}}}},"/ask/rush":{"post":{"summary":"Rush question (closed if you send options, else open)","description":"Rush question (closed if you send options, else open) Payment: x402, 2 USDC with options, 6 USDC without.","x-payment":{"protocol":"x402","asset":"USDC","network":"eip155:8453","price":"2 USDC with options, 6 USDC without"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","description":"What you need from the human, at most 50 words."},"context":{"type":"string","description":"Background and constraints, at most 200 words."},"refund_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Where refunds go (default: the paying address)."},"follow_up_of":{"type":"string","pattern":"^[0-9a-f]{16}$","description":"job_id of an earlier request: the same person answers and sees it."},"callback_url":{"type":"string","format":"uri","maxLength":500,"pattern":"^https://","description":"Optional webhook: an https URL (port 443 or 8443, public host) that receives the result as a signed POST, so you need not poll. The paid response contains the signing secret."},"options":{"type":"array","items":{"type":"string","maxLength":100},"minItems":2,"maxItems":6,"description":"Answer options; the human picks one."}},"required":["question"]}}}},"responses":{"200":{"description":"Paid and accepted. Poll status_url.","content":{"application/json":{"example":{"job_id":"3f9c2a7b1d4e8f60","kind":"standard","price_usdc":3.0,"status_url":"https://agents.requestahuman.com/jobs/3f9c2a7b1d4e8f60","status":"open","answer_due_at":"2026-10-11T09:00:00+00:00","poll":"Pass callback_url with the request to have the result pushed to you. Otherwise GET the status_url every 30-60 seconds (free), or add ?wait=50 to hold the request open until something changes."}}}},"402":{"description":"Payment required (x402). Pay and retry the same request."},"422":{"description":"Invalid request. Nothing was charged."},"503":{"description":"Paused, full, or rush closed. Nothing was charged."}}}},"/quote/request":{"post":{"summary":"Quote request for a task in the real world","description":"Real-world human check: a person phones a business, checks something in person or runs a small errand, for example confirming a booking or comparing local shops. A human quotes a price and delivery time within 24 h; you accept by paying the quote. The fee is refunded if the request is declined. Payment: x402, 5 USDC.","x-payment":{"protocol":"x402","asset":"USDC","network":"eip155:8453","price":"5 USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","description":"What you need from the human, at most 50 words."},"context":{"type":"string","description":"Background and constraints, at most 2000 words."},"refund_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Where refunds go (default: the paying address)."},"follow_up_of":{"type":"string","pattern":"^[0-9a-f]{16}$","description":"job_id of an earlier request: the same person answers and sees it."},"callback_url":{"type":"string","format":"uri","maxLength":500,"pattern":"^https://","description":"Optional webhook: an https URL (port 443 or 8443, public host) that receives the result as a signed POST, so you need not poll. The paid response contains the signing secret."},"budget_usdc":{"type":"number","exclusiveMinimum":0,"description":"Your budget."},"deadline_hours":{"type":"number","exclusiveMinimum":0,"description":"When you need the result."}},"required":["question"]},"examples":{"example1":{"summary":"A real phone call, and judging how reliable the answers sound.","value":{"question":"Call two bakeries in Utrecht: can they make a gluten-free birthday cake for Saturday?","context":"For 8 people. Need price, pickup time, and whether their kitchen also uses regular flour (cross-contamination).","budget_usdc":25,"deadline_hours":48}},"example2":{"summary":"An action in the real world on someone's behalf.","value":{"question":"Call this restaurant and change my user's reservation from 4 to 6 people.","context":"Restaurant: <name and phone number>. Reservation for Saturday 19:00, name Jansen. Confirm the new booking and tell me what they said.","budget_usdc":10,"deadline_hours":24}}}}}},"responses":{"200":{"description":"Paid and accepted. Poll status_url.","content":{"application/json":{"example":{"job_id":"3f9c2a7b1d4e8f60","kind":"quote","price_usdc":5.0,"status_url":"https://agents.requestahuman.com/jobs/3f9c2a7b1d4e8f60","status":"quote_requested","quote_due_at":"2026-10-11T09:00:00+00:00","poll":"Pass callback_url with the request to have the result pushed to you. Otherwise GET the status_url every 30-60 seconds (free), or add ?wait=50 to hold the request open until something changes."}}}},"402":{"description":"Payment required (x402). Pay and retry the same request."},"422":{"description":"Invalid request. Nothing was charged."},"503":{"description":"Paused, full, or rush closed. Nothing was charged."}}}},"/quote/accept":{"post":{"summary":"Accept a quote (pays the quoted price via x402)","parameters":[{"name":"job_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Accepted; the task is now open."},"402":{"description":"Payment required (x402)."},"409":{"description":"Quote no longer valid. Nothing was charged."}}}},"/jobs/{job_id}":{"get":{"summary":"Status and answer of a request (free). Add ?wait=50 to wait for a change.","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","required":false,"schema":{"type":"number","minimum":0,"maximum":55},"description":"Seconds to hold the request open until the status changes (long poll). Without it the answer is immediate."}],"responses":{"200":{"description":"Status, answer when ready, refund if any."}}}},"/validate":{"post":{"summary":"Check a request without paying (free)","parameters":[{"name":"kind","in":"query","schema":{"type":"string","enum":["closed","open","rush","quote","free"]}}],"responses":{"200":{"description":"Valid"},"422":{"description":"What to fix"}}}},"/ask/free":{"post":{"summary":"Free closed question: best effort, no payment","description":"A real person picks one of your 2 options within 48 h, or the request expires. It may be declined. Limited to 2 per day per client. No x402: a plain POST. Poll the returned status_url.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","description":"What you need from the human, at most 20 words."},"context":{"type":"string","description":"Background and constraints, at most 20 words."},"refund_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Where refunds go (default: the paying address)."},"follow_up_of":{"type":"string","pattern":"^[0-9a-f]{16}$","description":"job_id of an earlier request: the same person answers and sees it."},"callback_url":{"type":"string","format":"uri","maxLength":500,"pattern":"^https://","description":"Optional webhook: an https URL (port 443 or 8443, public host) that receives the result as a signed POST, so you need not poll. The paid response contains the signing secret."},"options":{"type":"array","items":{"type":"string","maxLength":100},"minItems":2,"maxItems":2,"description":"Answer options; the human picks one."}},"required":["question","options"]}}}},"responses":{"200":{"description":"Accepted. Poll status_url."},"422":{"description":"Invalid request."},"429":{"description":"Daily free limit reached."},"503":{"description":"Paused or all free slots taken."}}}}}}