Principia Free Stuff API

The free-stuff API from Principia — 1 operation(s) for free-stuff.

GitHub OpenAPI

Operations 1

POST /api/free/signup Submit a Free Stuff named-offer signup #

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/peopleprincipia-com:peopleprincipia-com-free-stuff-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

peopleprincipia-com-free-stuff-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Principia Registry Free Stuff API
  version: 0.1.0
  description: 'Read API for the **Principia** canonical registry of organizational-science

    measurement: constructs, instruments, survey items, citations, effect sizes,

    synthesized Bayesian priors, theoretical models, instrument equivalences,

    methodology critiques, and interventions.


    This document describes the **REST surface** (`/api/v1/*` + `/api/health`).

    Principia also exposes a **Model Context Protocol (MCP)** server at

    `POST /api/mcp` for AI agents — that surface is JSON-RPC, not REST, and is

    documented in `api-consumer-guide.md` (it is summarized here for discovery only).


    ## Conventions

    - All `/api/v1/*` responses are JSON with `Cache-Control: no-store`.

    - **List** endpoints return `{ "items": [...], "next_cursor": string | null }`.

    - **Single-entity** endpoints return `{ "entity": {...} }`.

    - **Errors** return `{ "error": { "code": string, "message": string } }`.

    - Pagination is opaque-cursor based: pass the previous response''s

    `next_cursor` back as `?cursor=`. `limit` is clamped to 1..500 (default 50).

    - Every authenticated response carries `X-RateLimit-Limit`,

    `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers.

    - Every route answers errors with the one envelope above, including the

    first-party routes under `/api/free`, `/api/support`, `/api/hadl`,

    `/api/study-design` and `/api/workspace`, and an unknown path under `/api`

    (404 `not_found`). The MCP list tools page with the same `limit` and

    `cursor` names and answer `next_cursor`.


    ## Rate limits

    The numbers below are the ones the limiter enforces (counting: sliding

    window of the last 60 seconds; REST and MCP share one counter per consumer,

    and each MCP `tools/call` counts as one request).

    - Unkeyed (free researcher tier): **30 requests per 60 seconds** per client

    IP address; `limit` is capped at **5** rows per request; no `cursor`.

    - Keyed: **60 requests per 60 seconds** per key by default. A key can be

    issued a different rate; `X-RateLimit-Limit` on any response carries the

    rate that applies to the caller.

    - Feedback form (`POST /api/feedback/...`): **5 submissions per 600 seconds**

    per client IP address and entity.

    - `X-RateLimit-Reset` is an ISO 8601 UTC timestamp, not epoch seconds.

    - Exceeded: HTTP `429` with `Retry-After` in seconds.'
  contact:
    name: People Analyst / Principia
    url: https://peopleprincipia.com
servers:
- url: https://peopleprincipia.com
  description: Production
security:
- bearerAuth: []
tags:
- name: free-stuff
paths:
  /api/free/signup:
    post:
      operationId: postFreeSignup
      x-codeSamples:
      - lang: Shell
        label: curl
        source: 'curl -s -X POST -H "Content-Type: application/json" -d ''{"intent":"named_free_offer","offer_id":"string","email":"string","role":"string","product_surface":"Principia","source":"string","source_signup_id":"string","pii_scrubbed":true,"submitted_at":"string"}'' "https://peopleprincipia.com/api/free/signup"

          '
      tags:
      - free-stuff
      summary: Submit a Free Stuff named-offer signup
      description: '**Public — no authentication required.** Signup for a specific Free

        Stuff offer, keyed by `source_signup_id` (a client-generated UUID used

        for idempotency — replaying the same id returns the original receipt

        with `replay: true` rather than double-delivering). Distinct from

        `/api/support/intake`, which uses `source_case_id` instead and is

        rejected here.


        Behind the `FREE_STUFF_UI` / signup feature flags (default off);

        returns `503` while paused. Posts an HMAC-signed webhook when

        configured, otherwise writes a structured log stub. Never sends

        customer email and never talks to Stripe.'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - intent
              - offer_id
              - email
              - role
              - product_surface
              - source
              - source_signup_id
              - pii_scrubbed
              - submitted_at
              properties:
                intent:
                  type: string
                  enum:
                  - named_free_offer
                offer_id:
                  type: string
                  minLength: 1
                email:
                  type: string
                  format: email
                role:
                  type: string
                  minLength: 1
                product_surface:
                  type: string
                  enum:
                  - Principia
                source:
                  type: string
                  description: Enumerated signup source.
                source_detail:
                  type: string
                source_signup_id:
                  type: string
                  format: uuid
                  description: Client-generated idempotency key. Never `source_case_id`.
                pii_scrubbed:
                  type: boolean
                  enum:
                  - true
                submitted_at:
                  type: string
                  minLength: 1
                topic_preference:
                  type: string
                org_size_band:
                  type: string
                comment_keyword:
                  type: string
                page_url:
                  type: string
                utm:
                  type: object
                  additionalProperties:
                    type: string
                schema_version:
                  type: string
      responses:
        '202':
          description: Signup accepted (or idempotent replay of a prior signup)
          content:
            application/json:
              schema:
                type: object
                required:
                - accepted
                - source_signup_id
                - product_surface
                - offer_id
                - delivery
                - replay
                properties:
                  accepted:
                    type: boolean
                    enum:
                    - true
                  source_signup_id:
                    type: string
                    format: uuid
                  product_surface:
                    type: string
                    enum:
                    - Principia
                  offer_id:
                    type: string
                  delivery:
                    type: string
                    enum:
                    - webhook
                    - log_stub
                  replay:
                    type: boolean
        '400':
          description: 'Malformed JSON, validation failure (including `source_case_id`

            supplied instead of `source_signup_id`), or a rejected field shape.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Free Stuff signup is paused (feature flag off)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: 'Stable machine code: unauthorized | forbidden | rate_limited | bad_request | not_found | bad_cursor | bad_predicate | bad_min_informativeness | bad_min_freshness_score | method_not_allowed | no_prior_synthesized | internal | store_unavailable'
            message:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer <key>`. Keys are provisioned per consumer via

        `PRINCIPIA_KEY_*` environment variables and map to a named consumer

        (`toolbox`, `pa-site`, `internal`, `toolbox-reincarnation`) with a scope

        set. Default scope is `read:public`; `read:internal` and

        `write:deployment_evidence` gate specific endpoints.

        '