Contra · Authentication Profile

Contra Authentication

Authentication

Contra secures its APIs with apiKey and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

CompanyFuture Of WorkFreelance MarketplaceTalentHiringProfessional NetworkMCPDeveloper API
Methods: apiKey, oauth2 Schemes: 2 OAuth flows: authorizationCode API key in: header

Security Schemes

PublicApiKey apiKey
· in: header (X-API-Key)
McpOAuth2 oauth2
scheme: OAuth 2.1 authorization_code + PKCE (S256/plain)

Source

Authentication Profile

Raw ↑
generated: '2026-07-18'
method: searched
source: >-
  github.com/contra/contra-sdk (src/client.ts, contra-open-api.json), live
  401 from https://contra.com/public-api/*, and the OAuth discovery surface
  at https://contra.com/.well-known/*
summary:
  types:
  - apiKey
  - oauth2
  api_key_in:
  - header
  oauth2_flows:
  - authorizationCode
schemes:
- name: PublicApiKey
  type: apiKey
  in: header
  parameter: X-API-Key
  applies_to: Contra Public API (https://contra.com/public-api/*)
  notes: >-
    The @contra/webflow SDK sends the key in both the X-API-Key and
    Authorization headers. An unauthenticated request returns HTTP 401
    {"code":"Unauthorized","message":"Missing or malformed API key"}.
  sources:
  - openapi/contra-openapi-original.json
- name: McpOAuth2
  type: oauth2
  scheme: OAuth 2.1 authorization_code + PKCE (S256/plain)
  applies_to: Contra MCP server (https://contra.com/mcp)
  issuer: https://contra.com/api
  authorization_url: https://contra.com/api/mcp/oauth/authorize
  token_url: https://contra.com/api/mcp/oauth/token
  registration_url: https://contra.com/api/mcp/oauth/register
  dynamic_client_registration: true
  scopes:
  - mcp:tools
  sources:
  - well-known/contra-openid-configuration.json
  - well-known/contra-oauth-protected-resource-mcp.json

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/contra-authentication"
All security posture
curl "https://apis.io/api/v1/security?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.