ship-page Links API

The Links API from ship-page — 3 operation(s) for links.

GitHub OpenAPI

Operations 5

GET /links/check Check whether a custom subdomain name is free #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ship-page:ship-page-links-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ship-page-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ship.page Links API
  version: 1.0.0
  description: 'Throw HTML at an API, get an unguessable URL back. Anonymous deploys need no auth; account routes accept an sp_ API key or a Firebase ID token as a Bearer credential. Docs: https://ship.page/docs — agents start at https://ship.page/docs/agents. MCP server: POST https://ship.page/mcp.'
  contact:
    name: Bitgate, Inc.
    url: https://ship.page
    email: abuse@bitgate.com
servers:
- url: https://ship.page
security: []
tags:
- name: Links
paths:
  /links:
    get:
      operationId: listLinks
      summary: List your custom subdomains
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Every link on the account, oldest first.
          content:
            application/json:
              schema:
                type: object
                required:
                - links
                - limit
                properties:
                  links:
                    type: array
                    items:
                      type: object
                      required:
                      - name
                      - url
                      - slug
                      - status
                      - pauses_at
                      - created_at
                      properties:
                        name:
                          type: string
                          example: acme
                        url:
                          type: string
                          format: uri
                          example: https://acme.ship.place/
                        slug:
                          type:
                          - string
                          - 'null'
                          description: The drop it shows; null when unpointed.
                        status:
                          type: string
                          enum:
                          - live
                          - unpointed
                          - paused
                          - frozen
                        pauses_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                          description: When the link pauses after the paid plan ended (in the past once paused); null while the plan is active.
                        created_at:
                          type: string
                          format: date-time
                  limit:
                    type: integer
                    description: 'Names the plan holds: 5 on Pro, 25 on Team, 0 without a plan.'
                    example: 5
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/Unavailable'
      tags:
      - Links
    post:
      operationId: claimLink
      summary: Claim a custom subdomain (Pro plan)
      description: 'Claims https://.ship.place/ and optionally points it at a live drop you own. Names: 3-40 chars of [a-z0-9-], starting and ending with a letter or digit, no double hyphens, not an existing drop slug and not shaped like a generated one (word-word-xxxxx). Infrastructure and service words, brand names and lookalikes, and credential bait are reserved; check with GET /links/check. Up to 5 per account on Pro, 25 on Team. Requires a verified Pro or Team subscription: unverifiable billing returns 503, never a claim. Error codes: 400 invalid_link_name, link_name_reserved, invalid_request; 402 subscription_required; 404 drop_not_found; 409 link_name_taken, link_exists (already yours, use PATCH), link_limit_reached; 429 rate_limited; 503 backend_unavailable.'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  minLength: 3
                  maxLength: 40
                  pattern: ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
                  example: acme
                slug:
                  type:
                  - string
                  - 'null'
                  description: Drop slug or drop URL to show. Omit to claim now and point later.
                  example: vivid-otter-a1b2c
      responses:
        '201':
          description: Name claimed.
          content:
            application/json:
              schema:
                type: object
                required:
                - name
                - slug
                - url
                properties:
                  name:
                    type: string
                    example: acme
                  slug:
                    type:
                    - string
                    - 'null'
                    description: The drop it shows; null when unpointed.
                    example: vivid-otter-a1b2c
                  url:
                    type: string
                    format: uri
                    example: https://acme.ship.place/
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      tags:
      - Links
  /links/check:
    get:
      operationId: checkLinkName
      summary: Check whether a custom subdomain name is free
      description: Auth optional; rate limited per IP. The name is trimmed and lowercased. When available is false, reason is invalid (breaks the format rules), reserved, taken or mine. Signed-in callers get mine for a name their account already holds (PATCH /links/{name} points it elsewhere), and a name they released is free to them while it's held back from everyone else. An invalid key checks as no key.
      security:
      - {}
      - bearerAuth: []
      parameters:
      - name: name
        in: query
        required: true
        schema:
          type: string
        example: acme
      responses:
        '200':
          description: Whether the name can be claimed.
          content:
            application/json:
              schema:
                type: object
                required:
                - name
                - available
                properties:
                  name:
                    type: string
                    example: acme
                  available:
                    type: boolean
                  reason:
                    type: string
                    enum:
                    - invalid
                    - reserved
                    - taken
                    - mine
                    description: Present when available is false.
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      tags:
      - Links
  /links/{name}:
    patch:
      operationId: pointLink
      summary: Point a custom subdomain at another drop
      description: 'Send a drop slug or drop URL; visitors see the new drop within about 10 seconds and the drops themselves are untouched. A null slug unpoints the link: the name stays yours and serves 404. Requires an active Pro or Team plan. Error codes: 400 invalid_request; 402 subscription_required; 404 not_found (no such link on this account), drop_not_found; 409 link_frozen; 429 rate_limited; 503 backend_unavailable.'
      security:
      - bearerAuth: []
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
        example: acme
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - slug
              properties:
                slug:
                  type:
                  - string
                  - 'null'
                  description: Drop slug or drop URL to show; null unpoints.
                  example: quiet-heron-k3m9p
      responses:
        '200':
          description: Link repointed.
          content:
            application/json:
              schema:
                type: object
                required:
                - name
                - slug
                - url
                properties:
                  name:
                    type: string
                    example: acme
                  slug:
                    type:
                    - string
                    - 'null'
                    description: The drop it shows; null when unpointed.
                    example: vivid-otter-a1b2c
                  url:
                    type: string
                    format: uri
                    example: https://acme.ship.place/
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      tags:
      - Links
    delete:
      operationId: releaseLink
      summary: Release a custom subdomain
      description: 'Frees the name; for 30 days only you can claim it again. Works without an active plan. Error codes: 404 not_found; 409 link_frozen (taken down with its page); 429 rate_limited; 503 backend_unavailable.'
      security:
      - bearerAuth: []
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
        example: acme
      responses:
        '200':
          description: Name released.
          content:
            application/json:
              schema:
                type: object
                required:
                - released
                properties:
                  released:
                    type: string
                    example: acme
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      tags:
      - Links
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-stable error code — parse this, not `error`.
          enum:
          - bad_request
          - invalid_ttl
          - invalid_email
          - invalid_name
          - invalid_plan
          - invalid_zip
          - invalid_claim_token
          - file_cap_exceeded
          - zip_too_large
          - body_too_large
          - decompression_cap
          - auth_required
          - subscription_required
          - not_found
          - method_not_allowed
          - already_claimed
          - claim_conflict
          - restore_conflict
          - drop_expired
          - rate_limited
          - backend_unavailable
          - internal_error
          - expired
          - too_large
          - unsupported
          - busy
          - hash_mismatch
          - storage_full
          - unknown_blob
          - draft_changed
          - content_changed
          - publish_in_progress
          - publish_incomplete
          - blocked
          - missing
          - already_live
          - invalid_request
          - invalid_link_name
          - link_name_reserved
          - link_name_taken
          - link_exists
          - link_limit_reached
          - link_frozen
          - drop_not_found
          - not_saving
        hint:
          type: string
          description: Human-directed guidance. Agents should relay this to their user verbatim.
        upgrade_url:
          type: string
          format: uri
          description: Present when a plan upgrade resolves the failure.
        docs_url:
          type: string
          format: uri
          description: Relevant docs page, when one applies.
  responses:
    Unauthorized:
      description: Missing or invalid credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Bad request — unparseable body, bad paths, invalid ttl/name, per-request file cap, invalid zip.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Conflict:
      description: Conflict with the resource's current state; the body's `code` says which.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Required backend unavailable. Password creation and rotation fail closed when billing cannot be verified; retry later.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not found (also returned for resources owned by someone else).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PaymentRequired:
      description: Subscriber-gated feature on a free account. The body's `hint` and `upgrade_url` tell the user how to upgrade.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limited. Back off per the Retry-After header (60s).
      headers:
        Retry-After:
          schema:
            type: integer
            example: 60
          description: Seconds to wait before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An sp_… API key (minted via POST /keys or the dashboard) or a Firebase ID token.