> ## Documentation Index
> Fetch the complete documentation index at: https://docs.purps.lol/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a pump.fun launch

> One call, no message to sign. Builds the pump.fun create transaction with the coin's creator fees already pointed at the coin's PURPS wallet; the create transaction is the proof. Sign with the creator wallet and the mint key, send through /transactions/send, then call /pumpfun/fees to lock the fee routing and /redirects to attach the strategy. The creator wallet needs about 0.04 SOL plus the dev buy (0.045 with a custom pair) or the build is refused with a 400; a wallet the launchpad does not admit gets a 403. `imageUrl` fetches are budgeted (20 an hour per address, 200 an hour site-wide); a 429 naming image fetches means send `image` as a data URL instead.



## OpenAPI

````yaml /openapi.json post /pumpfun/launches
openapi: 3.1.0
info:
  title: PURPS API
  version: 2.0.0
  description: >-
    Everything purps.lol can do, as JSON. Read the coin list, a coin's full page
    and the launchpad; launch coins on purps.lol, pump.fun and Pons; wire an
    existing pump.fun coin's fees into a strategy; steer a coin you own. No key,
    no signup. A launch is one call that returns unsigned transactions: the
    launch transaction can only land with your wallet's signature, and that is
    the proof. The few writes that need a message signature (Pons launches,
    wiring a strategy onto a coin, creator authority) come as a prepare/submit
    pair. Every transaction is signed in your wallet, never by us. Every
    response is `{ ok: true, data }` or `{ ok: false, error }`. Cross-origin
    requests are allowed from any site. Every answer from the API itself carries
    `RateLimit-Limit` and `RateLimit-Policy`; uncached ones (writes, prepare and
    submit, refusals) carry `RateLimit-Remaining` and `RateLimit-Reset` as well.
    The 503 while the API is paused and the 410 on old v1 write addresses carry
    neither.
servers:
  - url: https://purps.lol/api/v2
security: []
tags:
  - name: Coins
    description: Read what the site shows.
  - name: Launch on purps.lol
    description: Launch a coin on purps.lol. Build, sign, send, poll.
  - name: Launch on pump.fun
    description: Launch straight on pump.fun with fees wired to a strategy.
  - name: Launch on Pons
    description: Launch through Pons, the launchpad on Robinhood Chain.
  - name: Redirect a pump.fun coin
    description: Point an existing pump.fun coin's creator fees at a strategy.
  - name: Manage a coin
    description: Attach a strategy to a coin launched without one. Creator-signed.
  - name: Creator authority
    description: >-
      Steer a purps.lol coin you own: act on a position, change its strategy,
      ask for authority, or hand the coin on. Every move is signed by the
      owner's wallet and published on the coin's Changes tab.
  - name: Transactions
    description: Send a signed Solana transaction through our relay and watch it land.
paths:
  /pumpfun/launches:
    post:
      tags:
        - Launch on pump.fun
      summary: Build a pump.fun launch
      description: >-
        One call, no message to sign. Builds the pump.fun create transaction
        with the coin's creator fees already pointed at the coin's PURPS wallet;
        the create transaction is the proof. Sign with the creator wallet and
        the mint key, send through /transactions/send, then call /pumpfun/fees
        to lock the fee routing and /redirects to attach the strategy. The
        creator wallet needs about 0.04 SOL plus the dev buy (0.045 with a
        custom pair) or the build is refused with a 400; a wallet the launchpad
        does not admit gets a 403. `imageUrl` fetches are budgeted (20 an hour
        per address, 200 an hour site-wide); a 429 naming image fetches means
        send `image` as a data URL instead.
      operationId: buildPumpLaunch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PumpLaunchBuild'
      responses:
        '200':
          description: The transactions to sign.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/SolanaBuild'
        '400':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PumpLaunchBuild:
      type: object
      description: >-
        A pump.fun launch, in one call. No `ts` or `signature`: the create
        transaction you sign is the proof.
      properties:
        name:
          type: string
          description: 1 to 32 characters.
          required: true
        symbol:
          type: string
          description: 1 to 10 characters.
          required: true
        quoteMint:
          type: string
          description: >-
            A pair from /pairs `pumpfun`. Omit for SOL. A custom pair needs
            `customPairAccess` in /launch-options.
        devBuySol:
          type: number
          description: Your own first buy, in SOL. Default 0.
        creatorWallet:
          type: string
          description: The Solana wallet that signs the transactions and pays.
          required: true
        image:
          type: string
          description: >-
            The coin's logo as a data URL (`data:image/png;base64,…`). PNG,
            JPEG, WebP or GIF, 512KB max. Send this or `imageUrl`.
        imageUrl:
          type: string
          description: >-
            A public https link to the logo instead of `image`. Fetched by us
            under the same size and type rules.
        description:
          type: string
          description: >-
            Up to 500 characters. The coin's website in its metadata is always
            its purps.lol page; add your own links as `twitter` and `telegram`.
        twitter:
          type: string
          description: https:// link.
        telegram:
          type: string
          description: https:// link.
    SolanaBuild:
      type: object
      properties:
        mint:
          type: string
          description: The new coin's mint address.
        transactions:
          type: array
          description: Base64 transactions to sign and send in order.
          items:
            type: string
        createIndex:
          type: integer
          description: >-
            Which of `transactions` is the create. Sign that one with the mint
            key as well.
        mintSecret:
          type: string
          description: >-
            The mint keypair's secret, base58. Powerless after the launch; use
            it once to countersign the create.
          nullable: true
        imageUrl:
          type: string
          description: Where the logo was stored, when this build uploaded one.
          nullable: true
        url:
          type: string
          description: The coin's future page.
    Error:
      type: object
      properties:
        ok:
          type: boolean
          description: Always false on a failure.
        error:
          type: string
          description: >-
            A short reason in plain words: `coin not found`, `too many
            requests`, `invalid wallet signature`.

````