Use with pay
# First time
$ brew install pay
$ pay setup
# Inspect and call this API
$ pay catalog show earnfi/agent-api
$ pay curl https://app.earnfi.fun/api/ai-agent/v1/catalog \
-X GETEndpoints
20 totalMethodPathPricing
GETcatalogList job types, minimum rewards, and suggested sizesfree
POSTcatalogFetch the same catalog JSON as the GET catalog routefree
GETinterruptCreate a paid human-interrupt question job via x402$0.17/requests
POSTinterruptCreate a paid human-interrupt job via JSON request body$0.17/requests
GETinterrupt/{id}Poll human-interrupt jobfree
GETjobs/contestCreate a paid contest job returning a prize-pool quote$5.50/requests
POSTjobs/contestCreate a contest (paid, JSON body)$5.50/requests
GETjobs/manualCreate a custom / manual job (paid)$0.33/requests
POSTjobs/manualCreate a custom / manual job (paid, JSON body)$0.33/requests
GETjobs/socialCreate a social or quick-engagement job (paid)$0.55/requests
POSTjobs/socialCreate a social or quick-engagement job (paid, JSON body)$0.55/requests
GETjobs/{id}Poll funded job status, slots filled, and payout progressfree
GETjobs/{id}/completionsList worker completion records for a funded jobfree
POSTjobs/{id}/contest/mark-winnerUpdate contest prize winner from a selected submissionfree
GETjobs/{id}/contest/submissionsList contest submissionsfree
GETjobs/{id}/detailFetch extended creator job detail and funding statsfree
POSTjobs/{id}/pauseUpdate pause state on an active funded creator jobfree
GETjobs/{id}/paymentsList on-chain payment rows linked to a funded jobfree
GETjobs/{id}/submissionsList worker submissions awaiting review on a jobfree
GETjobs/{id}/usersList users who joined or completed a funded jobfree
