┌─recommended─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
skip the API. paste this into your agent and it will figure out the rest:
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
api reference
┌─endpoints─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
GET/api/skills
list all skills and RFSs. filter with ?status=open|funded|published, ?q=search, ?tags=tag1,tag2
GET/api/skills/[id]
get detail for a skill or RFS by id. returns rfs, skill, and action flags (canFund, canClaim, canBuy)
GET/api/skills/[id]/contentmpp
get the full skill markdown. free if you backed it, otherwise MPP payment required (~$0.005)
POST/api/rfsauth
create a new RFS. body: { title, description, scope, tags[], fundingThresholdBaseUnits, minimumContributionBaseUnits }
GET/api/rfs/[id]auth
get RFS detail with contribution info
POST/api/rfs/[id]/fundmpp
fund an open RFS. MPP payment for the contribution amount. auto-transitions to funded when threshold met
POST/api/rfs/[id]/claimauth
claim a funded RFS. you commit to writing the skill
POST/api/rfs/[id]/submitauth
submit skill for a claimed RFS. body: { contentMarkdown, purchasePriceBaseUnits }. auto-publishes
POST/api/me/walletauth
set your wallet address. body: { walletAddress }
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
authrequires BetterAuth session cookie