{"openapi":"3.1.0","info":{"title":"FOMO4NFT OnChain Launchpad","version":"10","summary":"Collections whose art lives entirely on chain, on Robinhood Chain (4663).","description":"Read-only. Writes (minting, creating a piece's wallet, registering an agent, setting metadata) are transactions to the contracts, from a wallet; see /llms.txt for the contracts. Drop factory v13: 0x0Abb646cE8B13f79F8f1334C4CC3DcC662760C2D (v12: 0x390a59A2888e2CCEfd21B5908B224875068334bf). ERC-8004 Identity Registry: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432. Agent bindings (ERC-8217, the chain's canonical contract): 0x000000009d62675362a58911e3f32FEcf46F5E18; earlier, ours: 0xC2730FCD09Be998A30e5b128a4d366ACa0a95A1a.","contact":{"url":"https://launch.fomo4nft.com/docs"}},"servers":[{"url":"https://launch.fomo4nft.com"}],"paths":{"/api/launchpad":{"get":{"summary":"Every live collection","operationId":"listCollections","responses":{"200":{"description":"Collections with their status and the phase that matters now","content":{"application/json":{"schema":{"type":"object","properties":{"drops":{"type":"array","items":{"type":"object","properties":{"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"name":{"type":"string"},"symbol":{"type":"string"},"image":{"type":["string","null"]},"minted":{"type":"integer"},"supply":{"type":"integer"},"status":{"type":"string","enum":["live","soon","closed","done"]},"phase":{"type":["object","null"],"properties":{"name":{"type":"string"},"costWei":{"type":"string","description":"An amount in wei, as a decimal string"},"start":{"type":"integer"},"end":{"type":"integer"},"list":{"type":"boolean","description":"allow list"}}},"day":{"type":"integer","description":"minted in the last 24 hours"},"launchedAt":{"type":"integer"}}}},"ethUsd":{"type":"number"},"opensAt":{"type":"integer","description":"Unix seconds: when the launchpad opens to the public. Before it, drops is empty."}}}}}}}}},"/api/drop/{collection}":{"get":{"summary":"A collection as the creator set it","operationId":"getCollection","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"description":"The collection's contract address"},{"name":"wallet","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"description":"With it: allow, that wallet’s Merkle proof per phase (null where it isn’t listed)"}],"responses":{"200":{"description":"The collection","content":{"application/json":{"schema":{"type":"object","properties":{"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"version":{"type":"integer"},"name":{"type":"string"},"symbol":{"type":"string"},"description":{"type":"string"},"website":{"type":"string"},"twitter":{"type":"string"},"count":{"type":"integer"},"firstId":{"type":"integer"},"revealLater":{"type":"boolean"},"cover":{"type":["string","null"]},"phases":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"kind":{"type":"string","enum":["public","list"]},"wallets":{"type":"integer"}}}},"pieceBytes":{"type":"integer"},"maxPieceBytes":{"type":"integer"},"ethUsd":{"type":"number"},"samples":{"type":"array","items":{"type":"object","properties":{"tokenId":{"type":"integer"},"url":{"type":"string"}}}},"living":{"type":["object","null"],"properties":{"metadata":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"holderProfile":{"type":"boolean"},"creatorTraits":{"type":"boolean"},"locked":{"type":"boolean"}}},"allow":{"type":["array","null"],"items":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"404":{"description":"No such collection"}}}},"/api/drop/{collection}/state":{"get":{"summary":"The collection's state from the chain, a few seconds old at most","operationId":"getCollectionState","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"description":"The collection's contract address"}],"responses":{"200":{"description":"Phases, counts and costs","content":{"application/json":{"schema":{"type":"object","properties":{"phases":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string","description":"Unix seconds; \"0\": from launch"},"end":{"type":"string","description":"Unix seconds"},"price":{"type":"string","description":"An amount in wei, as a decimal string"},"priceEnd":{"type":"string","description":"v10: the price at the phase’s end; the same as price when it doesn’t slide"},"perWallet":{"type":"integer","description":"0: no limit"},"cap":{"type":"integer","description":"0: no limit"},"allowRoot":{"type":"string","description":"bytes32; zero: public"}}}},"at":{"type":"integer","description":"Unix seconds when the chain was read; a sliding price was costs[i] then"},"minted":{"type":"integer"},"supply":{"type":"integer"},"over":{"type":"boolean"},"ended":{"type":"boolean"},"revealed":{"type":"boolean"},"costs":{"type":"array","items":{"type":"string","description":"An amount in wei, as a decimal string"},"description":"Per phase: the price now plus FOMO’s fee"},"sold":{"type":"array","items":{"type":"integer"}},"gasPrice":{"type":"string","description":"An amount in wei, as a decimal string"}}}}}}}}},"/api/drop/{collection}/activity":{"get":{"summary":"Recent mints","operationId":"getCollectionActivity","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"description":"The collection's contract address"}],"responses":{"200":{"description":"Mints, newest first","content":{"application/json":{"schema":{"type":"object","properties":{"mints":{"type":"array","items":{"type":"object","properties":{"tokenId":{"type":"integer"},"minter":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"tx":{"type":"string"},"paidWei":{"type":"string","description":"An amount in wei, as a decimal string"},"at":{"type":"integer"}}}}}}}}}}}},"/api/piece/{collection}/{tokenId}":{"get":{"summary":"A piece: art, traits, holder, wallet, agent, profile","operationId":"getPiece","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"description":"The collection's contract address"},{"name":"tokenId","in":"path","required":true,"schema":{"type":"integer","minimum":0},"description":"The piece’s token id"}],"responses":{"200":{"description":"The piece, read from the chain now","content":{"application/json":{"schema":{"type":"object","properties":{"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"version":{"type":"integer"},"collection":{"type":"string"},"tokenId":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"image":{"type":["string","null"]},"traits":{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{}}}},"revealLater":{"type":"boolean"},"revealed":{"type":"boolean"},"minted":{"type":"boolean"},"owner":{"type":["string","null"]},"tba":{"type":"object","description":"The piece’s ERC-6551 account","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"created":{"type":"boolean"},"active":{"type":"boolean"},"balanceWei":{"type":"string","description":"An amount in wei, as a decimal string"}}},"agent":{"type":["object","null"],"properties":{"bindings":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"id":{"type":"string"},"uri":{"type":"string"},"wallet":{"type":["string","null"]}}},"bindings":{"type":["string","null"],"description":"The agent bindings contract; null while registering isn’t open"},"living":{"type":["object","null"],"properties":{"metadata":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"holderProfile":{"type":"boolean"},"creatorTraits":{"type":"boolean"},"locked":{"type":"boolean"},"context":{"type":"string"},"endpoints":{"type":"object","properties":{"web":{"type":"string"},"mcp":{"type":"string"},"a2a":{"type":"string"}}}}},"ethUsd":{"type":"number"}}}}}},"404":{"description":"No such piece"}}}},"/api/agent/{collection}/{tokenId}":{"get":{"summary":"A piece's ERC-8004 agent file (registration-v1)","operationId":"getAgentFile","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"description":"The collection's contract address"},{"name":"tokenId","in":"path","required":true,"schema":{"type":"integer","minimum":0},"description":"The piece’s token id"}],"responses":{"200":{"description":"The registration file, built from the chain; the registry’s agentURI points here","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"https://eips.ethereum.org/EIPS/eip-8004#registration-v1"},"name":{"type":"string"},"description":{"type":"string"},"image":{"type":["string","null"]},"services":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"endpoint":{"type":"string"}}}},"x402Support":{"type":"boolean"},"active":{"type":"boolean"},"registrations":{"type":"array","items":{"type":"object","properties":{"agentId":{"type":"integer"},"agentRegistry":{"type":"string"}}}},"supportedTrust":{"type":"array","items":{"type":"string"}},"fomo":{"type":"object","properties":{"chainId":{"type":"integer"},"collection":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"tokenId":{"type":"integer"},"holder":{"type":["string","null"]},"page":{"type":"string"},"tokenbound":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"An EVM address"},"agentWallet":{"type":["string","null"]},"binding":{"type":["object","null"]},"traits":{"type":"array"}}}}}}}},"404":{"description":"No such piece"}}}}}}