OpenAgreements Surveys API

The Surveys API from OpenAgreements — 1 operation(s) for surveys.

GitHub OpenAPI

Operations 1

GET /api/surveys/{topic}/forms-evidence Raw evidence dataset for a forms survey #

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/openagreements-org:openagreements-org-surveys-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

openagreements-org-surveys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAgreements read surfaces Surveys API
  version: 1.0.0
  description: Read-only HTTP discovery endpoints for OpenAgreements. The primary programmatic interface is the Model Context Protocol (MCP) server at https://openagreements.org/api/mcp (JSON-RPC over streamable HTTP, no auth), which is not a REST API and is therefore described in the A2A agent card (/.well-known/agent-card.json) rather than here. The paths below are the stable, unauthenticated GET surfaces an HTTP-only agent can use for discovery.
  contact:
    name: OpenAgreements
    url: https://openagreements.org
servers:
- url: https://openagreements.org
tags:
- name: Surveys
paths:
  /api/surveys/{topic}/forms-evidence:
    get:
      operationId: getFormsSurveyEvidence
      summary: Raw evidence dataset for a forms survey
      description: The complete machine-readable dataset behind a forms survey at /surveys/{topic}/forms.
      parameters:
      - name: topic
        in: path
        required: true
        description: The survey slug, e.g. restrictive-covenant.
        schema:
          type: string
      responses:
        '200':
          description: The survey's evidence dataset.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    const: forms-provider-survey-evidence
                  slug:
                    type: string
                  asOf:
                    type: string
                    description: ISO date the survey was last updated.
                  sample:
                    type: object
                  evidenceCellCount:
                    type: integer
                  requirements:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        label:
                          type: string
                        valueType:
                          type: string
                      required:
                      - id
                      - label
                  forms:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        sourceUrl:
                          type: string
                      required:
                      - id
                      - name
                      - sourceUrl
                  cells:
                    type: object
        '404':
          description: No survey exists for the given topic slug.
          content:
            application/json: {}
        '405':
          description: Method not allowed; only GET is supported.
          content:
            application/json: {}
        '500':
          description: The evidence table failed to load.
          content:
            application/json: {}
      tags:
      - Surveys