Val Town orgs API

The orgs API from Val Town — 2 operation(s) for orgs.

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/val-town-orgs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

val-town-orgs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Val Town alias orgs API
  description: 'Val Town’s public API


    OpenAPI JSON endpoint:


    https://api.val.town/openapi.json'
  termsOfService: https://www.val.town/termsofuse
  version: '1'
servers:
- url: https://api.val.town
  description: Production
tags:
- name: orgs
paths:
  /v2/orgs:
    get:
      operationId: orgsList
      tags:
      - orgs
      description: Get all orgs you are a member of
      parameters:
      - schema:
          type: integer
          minimum: 0
          default: 0
        in: query
        name: offset
        required: true
        description: Number of items to skip in order to deliver paginated results
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
        in: query
        name: limit
        required: true
        description: Maximum items to return in each paginated response
      responses:
        '200':
          description: A paginated result set
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - links
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Org'
                  links:
                    $ref: '#/components/schemas/PaginationLinks'
                description: A paginated result set
  /v2/orgs/{org_id}/memberships:
    get:
      operationId: orgsMembershipsList
      tags:
      - orgs
      description: List all memberships of an org
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: org_id
        required: true
        description: Id of an org
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Membership'
components:
  schemas:
    PaginationLinks:
      type: object
      required:
      - self
      properties:
        self:
          type: string
          format: uri
          description: URL of this page
        prev:
          type: string
          format: uri
          description: URL of the previous page, if any
        next:
          type: string
          format: uri
          description: URL of the next page, if any
      description: Links to use for pagination
    Membership:
      type: object
      required:
      - id
      - role
      - user
      properties:
        id:
          type: string
          format: uuid
          description: The id of the membership
        role:
          anyOf:
          - enum:
            - owner
            - member
            description: The role of the member
          - type: 'null'
        user:
          type: object
          required:
          - id
          - username
          properties:
            id:
              type: string
              format: uuid
              description: The id of the user
            username:
              anyOf:
              - type: string
                description: The username of the user
              - type: 'null'
      description: A Membership
    Org:
      type: object
      required:
      - username
      - id
      properties:
        username:
          type: string
        id:
          type: string
          format: uuid
          description: The id of the org
      description: An Org
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Endpoints that support authorization expect Bearer authentication, using an API token provided from Val Town.
externalDocs:
  url: https://api.val.town/documentation
  description: Find more info here