Laboratory Love Checkouts API

Status of checkouts created through this API.

GitHub OpenAPI

Operations 1

GET /checkouts/{checkout_id} Get the status of a checkout #

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/laboratory-love:laboratory-love-checkouts-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

laboratory-love-checkouts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Laboratory.love Checkouts API
  version: 1.0.0
  description: 'Read Laboratory.love’s published laboratory measurements of phthalates, bisphenols, and phthalate substitutes in consumer products, look up what the chemical abbreviations mean, see which products are being crowdfunded for testing, and create hosted checkout links for contributions or testing orders.


    **For AI agents.** Each record is either `laboratory_love_commissioned` (Laboratory.love bought retail samples and paid an independent lab) or `plasticlist_derived` (historical data imported from PlasticList with attribution; Laboratory.love did not run that testing). Say which when you answer. Keep the measurement statuses `detected`, `below_limit_of_quantitation`, `not_detected`, and `not_tested` distinct; none of them means zero. Results describe the specific samples tested at that time — not every unit, lot, or the whole brand — and a low or not-detected value is not a statement that a product is safe. Ratings are exposure context, not medical advice.


    **Tool classification.** All GET operations are Read. `createContributionCheckout` and `createTestingCheckout` are Writes that start a purchase: treat them as sensitive, confirm the details with the person, and remember they only return a payment link — nothing is charged until the person pays on the Stripe page. Use `getCheckoutStatus` before reporting a payment as complete.


    **Authentication:** none. **Rate limits:** about 120 read requests per minute and 10 checkout creations per 10 minutes per client IP; 429 responses include Retry-After. Cached read responses may be up to an hour old within a dataset version.


    Documentation: https://www.laboratory.love/developers. A remote MCP server with the same operations is at https://www.laboratory.love/mcp.'
  contact:
    name: Laboratory.love support
    url: https://www.laboratory.love/contact
  termsOfService: https://www.laboratory.love/legal?tab=terms
  license:
    name: 'Data: CC BY 4.0 (Laboratory.love-commissioned results); PlasticList-derived records keep their own license'
    url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://www.laboratory.love/api/v1
  description: Production
security: []
tags:
- name: Checkouts
  description: Status of checkouts created through this API.
paths:
  /checkouts/{checkout_id}:
    get:
      operationId: getCheckoutStatus
      tags:
      - Checkouts
      summary: Get the status of a checkout
      description: Read. Whether a checkout created through this API is awaiting payment, paid, still processing, or expired. Report a payment as complete only when status is `paid`; if it is still awaiting payment, offer the same `checkout_url` instead of creating another checkout. Returns no payer details.
      parameters:
      - name: checkout_id
        in: path
        required: true
        description: checkout_id from a checkout response.
        schema:
          type: string
          pattern: ^cs_(live|test)_[A-Za-z0-9]{10,200}$
      responses:
        '200':
          description: Status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutStatus'
              example:
                checkout_id: cs_live_a1B2c3D4e5F6g7H8
                kind: crowdfund_contribution
                status: paid
                amount: 10
                currency: USD
                created_at: '2026-10-03T18:00:00.000Z'
                expires_at: '2026-10-04T18:00:00.000Z'
                checkout_url: null
                product_id: '140'
                receipt: Stripe emails a receipt to the address entered at checkout.
                support_url: https://www.laboratory.love/contact
        '400':
          description: Invalid input. `error.code` says which rule failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_limit
                  message: limit must be an integer from 1 to 50.
        '404':
          description: No such record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: result_not_found
                  message: No published result has id "pl-99999". Search with GET /api/v1/results to find ids.
        '429':
          description: Rate limited. Wait `Retry-After` seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: rate_limited
                  message: Too many requests. Retry after 30 seconds.
        '502':
          description: The payment provider failed. Nothing was charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: payment_provider_error
                  message: The payment provider could not create a checkout. Nothing was charged. Retry with the same Idempotency-Key.
components:
  schemas:
    CheckoutStatus:
      type: object
      description: Checkout outcome. Contains no payer details.
      additionalProperties: false
      required:
      - checkout_id
      - kind
      - status
      - amount
      - currency
      - created_at
      - expires_at
      - checkout_url
      - receipt
      - support_url
      properties:
        checkout_id:
          type: string
          description: Checkout id.
        kind:
          type: string
          description: What is being bought.
          enum:
          - crowdfund_contribution
          - testing_order
        status:
          type: string
          description: awaiting_user_payment, paid, payment_processing, or expired. Only `paid` means payment succeeded.
          enum:
          - awaiting_user_payment
          - paid
          - payment_processing
          - expired
        amount:
          type: number
          description: USD.
        currency:
          type: string
          description: Currency.
        created_at:
          type:
          - string
          - 'null'
          description: Created.
          format: date-time
        expires_at:
          type:
          - string
          - 'null'
          description: Expires.
          format: date-time
        checkout_url:
          type:
          - string
          - 'null'
          description: Still-usable payment page (only while awaiting payment).
          format: uri
        product_id:
          type:
          - string
          - 'null'
          description: Crowdfunding product id (contributions).
        tier_id:
          type: string
          description: Tier id (testing orders).
        receipt:
          type:
          - string
          - 'null'
          description: Where the receipt goes once paid.
        support_url:
          type: string
          description: Support for payment questions, disputes, and refunds.
          format: uri
    Error:
      type: object
      description: Every non-2xx response has this shape.
      additionalProperties: false
      required:
      - error
      properties:
        error:
          type: object
          description: Error detail.
          additionalProperties: false
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: Stable machine-readable error code, e.g. invalid_limit, result_not_found, rate_limited.
            message:
              type: string
              description: Human-readable explanation, safe to show to a person.
            details:
              type: object
              description: Extra structured context, such as allowed values.
              additionalProperties: true
externalDocs:
  description: Developer and agent documentation
  url: https://www.laboratory.love/developers