Namemy Legal API

The Legal API from Namemy — 2 operation(s) for legal.

GitHub OpenAPI

Operations 2

POST /legal Generate Privacy/Terms/Cookie documents #
POST /legal/stream Streaming legal documents (Server-Sent Events) #

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/namemy-app:namemy-app-legal-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

namemy-app-legal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: namemy.app Legal API
  description: 'The namemy.app API lets AI agents and developers generate brandable names,

    check domain availability, purchase domains, and manage DNS programmatically.


    **Base URL**: `https://namemy.app/api/v1`


    **Authentication**: Bearer token (`Authorization: Bearer nma_live_...`)


    For human users, visit https://namemy.app to manage API keys.'
  version: 1.0.0
  contact:
    name: namemy.app Support
    email: hello@namemy.app
    url: https://namemy.app/agents
servers:
- url: https://namemy.app/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Legal
paths:
  /legal:
    post:
      summary: Generate Privacy/Terms/Cookie documents
      description: 'Gated: Founder/Agency sub OR LEGAL_KIT purchase.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegalKitInput'
      responses:
        '200':
          description: Generated legal documents
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegalKitOutput'
        '402':
          $ref: '#/components/responses/EntitlementRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
      x-pricing:
        model: included
        description: Legal kit (Privacy / Terms / Cookies). One included with every domain bought here, or unlimited with Founder/Agency.
        currency: USD
        billing_url: https://namemy.app/pricing
      tags:
      - Legal
      operationId: postLegal
      x-operation-id-source: derived
  /legal/stream:
    post:
      summary: Streaming legal documents (Server-Sent Events)
      description: SSE variant — emits `progress` and `document` events as each doc is generated.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegalKitInput'
      responses:
        '200':
          description: text/event-stream
          content:
            text/event-stream:
              schema:
                type: string
      x-pricing:
        model: included
        description: Streaming variant of /legal.
        currency: USD
        billing_url: https://namemy.app/pricing
      tags:
      - Legal
      operationId: postLegalStream
      x-operation-id-source: derived
components:
  responses:
    EntitlementRequired:
      description: Payment required — endpoint gated by subscription or one-time add-on
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Payment required
              code:
                type: string
                example: entitlement_required
              productType:
                type: string
                example: BRAND_KIT
              productName:
                type: string
                example: Brand Kit
              oneTimePrice:
                type: number
                example: 29.99
              recurring:
                type: string
                enum:
                - one-time
                - monthly
                - yearly
              message:
                type: string
              upgrade:
                type: object
                properties:
                  subscription:
                    type: string
                  oneTimePurchase:
                    type: string
    RateLimited:
      description: Rate limit or daily quota exceeded
      headers:
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
        X-RateLimit-Reset:
          schema:
            type: integer
        X-Daily-Limit:
          schema:
            type: integer
        X-Daily-Remaining:
          schema:
            type: integer
        X-Daily-Reset:
          schema:
            type: integer
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              code:
                type: string
                enum:
                - rate_limit_exceeded
                - daily_quota_exceeded
              tier:
                type: string
                enum:
                - explorer
                - founder
                - agency
              limit:
                type: integer
              upgrade:
                type: string
                example: https://namemy.app/pricing
  schemas:
    LegalKitInput:
      type: object
      required:
      - businessName
      - businessType
      properties:
        businessName:
          type: string
        businessType:
          type: string
          description: saas | ecommerce | agency | marketplace | …
        websiteUrl:
          type: string
        contactEmail:
          type: string
        headquartersCountry:
          type: string
          example: US
        headquartersState:
          type: string
          example: CA
        regions:
          type: array
          items:
            type: string
            enum:
            - gdpr
            - ccpa
            - lgpd
          default:
          - gdpr
          - ccpa
    LegalKitOutput:
      type: object
      properties:
        documents:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
                enum:
                - terms
                - privacy
                - cookie
                - refund
                - aup
                - dmca
              title:
                type: string
              content:
                type: string
              lastUpdated:
                type: string
              wordCount:
                type: integer
        metadata:
          type: object
          properties:
            businessName:
              type: string
            businessType:
              type: string
            regions:
              type: array
              items:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: nma_live_
      description: API key prefixed with `nma_live_`
    sessionAuth:
      type: apiKey
      in: cookie
      name: next-auth.session-token
      description: Session cookie from namemy.app dashboard login
x-service-info:
  categories:
  - domains
  docs:
    llms: /llms.txt
    apiReference: /api/openapi.json
    homepage: /
x-pricing:
  provider: namemyapp
  currency: USD
  billing_url: https://namemy.app/pricing
  catalog_url: https://namemy.app/api/openapi.json
  pricing_models_supported:
  - subscription
  - subscription+overage
  - one-time
  - per-year