GEOCitation Opt Out API

The opt-out API from GEOCitation — 1 operation(s) for opt-out.

Operations 2

POST /v1/opt-out Ajouter un domaine à la liste opt-out GDPR (admin only) #
GET /v1/opt-out Liste des domaines opt-out (admin only) #

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/geocitation-opt-out-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

geocitation-opt-out-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GEOCitation Opt Out API
  description: Citation Rank Intelligence — Content Gap & Market Audit API
  version: 0.1.0
tags:
- name: opt Out
paths:
  /v1/opt-out:
    post:
      tags:
      - opt Out
      summary: Ajouter un domaine à la liste opt-out GDPR (admin only)
      description: 'Ajoute un domaine à la liste opt-out.


        Sprint N04 V2 J4 D5 (2026-05-14) — GDPR enterprise.


        Auth : admin only via `require_admin` (whitelist env var OR JWT role=admin).

        Storage : Supabase `domain_opt_outs` (m028) avec RLS service_role/admin only.

        Effets : N04 cache Redis 1h sera invalidé pour ce domaine.'
      operationId: create_opt_out_v1_opt_out_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OptOutCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OptOutCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - opt Out
      summary: Liste des domaines opt-out (admin only)
      description: 'Liste les domaines opt-out, filtrés par status (défaut: ''active'').'
      operationId: list_opt_outs_v1_opt_out_get
      security:
      - HTTPBearer: []
      parameters:
      - name: status_filter
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: active
          title: Status Filter
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response List Opt Outs V1 Opt Out Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OptOutCreateRequest:
      properties:
        domain:
          type: string
          maxLength: 253
          minLength: 4
          title: Domain
          description: 'Domain TLD+1 (sera normalisé : lowercase, no www, no scheme/port/path)'
          example: example.com
        requested_by_email:
          type: string
          format: email
          title: Requested By Email
          description: Email contact de la personne qui a fait la demande (audit trail GDPR)
        reason:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Reason
          description: 'Motif libre (ex: Article 21 GDPR, rights of erasure, DMCA)'
        verified_via:
          anyOf:
          - type: string
            pattern: ^(email_confirm|dmca_takedown|manual_admin)$
          - type: 'null'
          title: Verified Via
          description: Méthode de vérification de la demande
      type: object
      required:
      - domain
      - requested_by_email
      title: OptOutCreateRequest
      description: Demande d'opt-out GDPR pour un domaine.
    OptOutCreateResponse:
      properties:
        id:
          type: integer
          title: Id
        domain:
          type: string
          title: Domain
        status:
          type: string
          title: Status
        created_at:
          type: string
          format: date-time
          title: Created At
        approved_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Approved At
      type: object
      required:
      - id
      - domain
      - status
      - created_at
      - approved_at
      title: OptOutCreateResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer