Legal Data Hunter OAuth API

The OAuth API from Legal Data Hunter — 9 operation(s) for oauth.

GitHub OpenAPI

Operations 9

GET /.well-known/oauth-authorization-server Oauth Metadata #
GET /.well-known/oauth-authorization-server/{path} Oauth Metadata Path #
GET /.well-known/oauth-protected-resource Protected Resource Metadata #
GET /.well-known/oauth-protected-resource/mcp Protected Resource Metadata Mcp #
GET /.well-known/oauth-protected-resource/sse Protected Resource Metadata Sse #
GET /.well-known/oauth-protected-resource/{path} Protected Resource Metadata Path #
POST /oauth/register Oauth Register #
GET /oauth/authorize Oauth Authorize #
POST /oauth/token Oauth Token #

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/legaldatahunter-com:legaldatahunter-com-oauth-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

legaldatahunter-com-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Legal Search OAuth API
  description: Hybrid semantic + keyword search over EU legal data (case law, legislation, doctrine).
  version: 0.1.0
tags:
- name: OAuth
paths:
  /.well-known/oauth-authorization-server:
    get:
      tags:
      - OAuth
      summary: Oauth Metadata
      description: 'RFC 8414 — Authorization Server Metadata (origin-based).


        Public-client flow protected by PKCE: we don''t validate `client_secret`,

        but we accept the `client_id` either in the form body (`client_secret_post`

        style, sans secret) or in an HTTP Basic Authorization header

        (`client_secret_basic` — ChatGPT uses this). Advertising both lets clients

        pick whichever they speak natively.'
      operationId: oauth_metadata__well_known_oauth_authorization_server_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/oauth-authorization-server/{path}:
    get:
      tags:
      - OAuth
      summary: Oauth Metadata Path
      description: RFC 8414 — path-aware metadata (some clients try this first).
      operationId: oauth_metadata_path__well_known_oauth_authorization_server__path__get
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
          title: Path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /.well-known/oauth-protected-resource:
    get:
      tags:
      - OAuth
      summary: Protected Resource Metadata
      description: 'RFC 9728 — Protected Resource Metadata.


        Claude.ai, ChatGPT and Mistral fetch this to discover the OAuth

        authorization server for the MCP endpoint. We expose both transports:

        streamable-HTTP at /mcp and SSE at /sse — clients pick whichever they

        speak.'
      operationId: protected_resource_metadata__well_known_oauth_protected_resource_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/oauth-protected-resource/mcp:
    get:
      tags:
      - OAuth
      summary: Protected Resource Metadata Mcp
      description: Per-resource metadata for the streamable-HTTP endpoint.
      operationId: protected_resource_metadata_mcp__well_known_oauth_protected_resource_mcp_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/oauth-protected-resource/sse:
    get:
      tags:
      - OAuth
      summary: Protected Resource Metadata Sse
      description: Per-resource metadata for the SSE endpoint.
      operationId: protected_resource_metadata_sse__well_known_oauth_protected_resource_sse_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/oauth-protected-resource/{path}:
    get:
      tags:
      - OAuth
      summary: Protected Resource Metadata Path
      description: RFC 9728 — path-aware protected resource metadata (fallback).
      operationId: protected_resource_metadata_path__well_known_oauth_protected_resource__path__get
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
          title: Path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /oauth/register:
    post:
      tags:
      - OAuth
      summary: Oauth Register
      description: RFC 7591 — Dynamic Client Registration. Persisted to oauth_clients.
      operationId: oauth_register_oauth_register_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /oauth/authorize:
    get:
      tags:
      - OAuth
      summary: Oauth Authorize
      description: 'OAuth 2.1 Authorization Endpoint with PKCE.


        Accepts the RFC 8707 `resource` parameter — strict clients (ChatGPT) send

        it to bind the issued token to a specific resource (e.g. /mcp). The value

        flows through the auth-code store to the token endpoint, which embeds it

        as the JWT `aud` claim.'
      operationId: oauth_authorize_oauth_authorize_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /oauth/token:
    post:
      tags:
      - OAuth
      summary: Oauth Token
      description: Exchange authorization code for access token (JWT).
      operationId: oauth_token_oauth_token_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError