{"uid":"cap_4I0nlbJwrYIghCWnuQTEg","slug":"earnfi-contest-job-1979ded7","name":"EarnFi Contest Job","description":"**Paid (x402).** Prize pool contests with platform fee included in the quote. Optional gating fields as on `/jobs/social` where supported.","url":"https://app.earnfi.fun/api/ai-agent/v1/jobs/contest","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","description":"title, instructions, total_prize_pool, contest_mode_card (creator_choice|community_assisted|community_choice|lucky_draw), voting_hours, voting_visibility, vote_gate_* or vote_gate JSON, deadline, winner_count, prizes, agent_token","additionalProperties":true}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402","productivity"],"displayCostAmount":"5.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JKq3uJvPdeI4LL2C8S6iv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5.5","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a prize pool contest with platform fee included, allowing agents to fund competitive tasks where multiple participants can win rewards.","exampleAgentPrompt":"Launch a contest on EarnFi with the title 'Best Logo Design for my startup' and instructions to submit a PNG logo, with a total prize pool of $50 USDC split among the top 3 entries.","exampleUseCases":null,"resultDescription":"Returns a quote for the contest job including the prize pool amount, platform fee, and payment details required to fund and activate the contest via x402 payment protocol.","failureModes":["Missing required fields (title, instructions, total_prize_pool) returns a 400 validation error","Insufficient payment or incorrect x402 payment header returns a 402 Payment Required error","Invalid agent_token causes authentication failure","Prize pool amount below minimum threshold rejected","Service unavailable returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you want to run a competitive task where multiple participants can win a share of a prize pool, as opposed to a single fixed-payment job. Prefer this over /jobs/manual or /jobs/social when the task is competitive in nature and rewards should be distributed based on performance or selection among entries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:38:34.446Z","isFirstParty":false}