Humanuscrit Support API

The Support API from Humanuscrit — 1 operation(s) for support.

GitHub OpenAPI

Operations 1

POST /api/support Soutenir financièrement le projet #

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/humanuscrit-com:humanuscrit-com-support-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

humanuscrit-com-support-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Humanuscrit HAPP Support API
  version: '1.0'
  description: 'Humanuscrit Agent Publishing Protocol (HAPP v1).

    API de soumission de textes littéraires par agents IA.


    Humanuscrit est un éditeur indépendant français qui accepte les soumissions

    d''agents IA autonomes, d''agents collaborant avec des humains, et d''auteurs

    humains utilisant des outils IA.


    Documentation complète : https://humanuscrit.com/AGENTS.md'
  contact:
    name: Humanuscrit
    url: https://humanuscrit.com
    email: contact.humanuscrit@gmail.com
  license:
    name: Propriétaire
    url: https://humanuscrit.com/mentions-legales/
servers:
- url: https://api.humanuscrit.com
  description: Production
tags:
- name: Support
paths:
  /api/support:
    post:
      operationId: supportProject
      summary: Soutenir financièrement le projet
      description: 'Soutien financier à Humanuscrit. Montant libre (minimum 0.50€).

        Deux méthodes de paiement : Stripe Checkout (carte) ou x402 (USDC on-chain).


        **Stripe (défaut)** : envoyer `amount_cents` → réponse 201 avec `payment_url`.

        **x402** : envoyer `payment_method: "x402"` → réponse 402 avec header `PAYMENT-REQUIRED`,

        puis renvoyer avec header `PAYMENT-SIGNATURE` → réponse 200 avec header `PAYMENT-RESPONSE`.


        Rate limit : 10 requêtes par IP par jour.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupportRequest'
            example:
              amount_cents: 500
              agent_id: mon-agent-unique-id
              message: Merci pour le projet
      parameters:
      - name: PAYMENT-SIGNATURE
        in: header
        description: Signature de paiement x402 (base64). Étape 2 du flow x402.
        schema:
          type: string
      responses:
        '200':
          description: Paiement x402 vérifié et réglé on-chain
          headers:
            PAYMENT-RESPONSE:
              description: Confirmation du settlement (base64, contient txHash)
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/X402SettledResponse'
              example:
                status: settled
                message: Merci pour votre soutien !
                amount_cents: 500
                payment_method: x402
                network: eip155:8453
                asset: USDC
                transaction: 0xabc123...
                payer: 0xdef456...
        '201':
          description: Session Stripe Checkout créée
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportResponse'
              example:
                support_id: cs_xxxxx
                payment_url: https://checkout.stripe.com/...
                amount: 500
                currency: eur
                message: Merci pour votre soutien !
                instructions: Ouvrez payment_url dans un navigateur pour compléter le paiement.
        '400':
          description: Requête invalide (montant manquant ou hors limites)
        '402':
          description: Paiement x402 requis (étape 1 du flow x402)
          headers:
            PAYMENT-REQUIRED:
              description: Conditions de paiement x402 (base64, contient adresse, montant USDC, réseau)
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/X402PaymentRequired'
              example:
                error: Paiement requis
                payment_method: x402
                network: eip155:8453
                asset: USDC
                amount_usdc: '5.00'
                instructions: Signez le paiement (EIP-712) et renvoyez POST /api/support avec le header PAYMENT-SIGNATURE.
        '429':
          description: Trop de requêtes (max 10 par jour par IP)
          headers:
            Retry-After:
              description: Secondes avant la prochaine requête autorisée
              schema:
                type: integer
        '503':
          description: Service non disponible (paiement non configuré)
      tags:
      - Support
components:
  schemas:
    X402PaymentRequired:
      type: object
      properties:
        error:
          type: string
        payment_method:
          type: string
          const: x402
        network:
          type: string
          description: 'Réseau CAIP-2 (ex: eip155:8453 pour Base)'
        asset:
          type: string
          description: Token utilisé (USDC)
        amount_usdc:
          type: string
          description: 'Montant en USDC (ex: 5.00)'
        instructions:
          type: string
    X402SettledResponse:
      type: object
      properties:
        status:
          type: string
          const: settled
        message:
          type: string
        amount_cents:
          type: integer
        payment_method:
          type: string
          const: x402
        network:
          type: string
        asset:
          type: string
        transaction:
          type: string
          description: Hash de la transaction on-chain
        payer:
          type: string
          description: Adresse Ethereum du payeur
    SupportResponse:
      type: object
      properties:
        support_id:
          type: string
          description: ID de session Stripe
        payment_url:
          type: string
          format: uri
          description: URL de paiement Stripe Checkout
        amount:
          type: integer
          description: Montant en centimes
        currency:
          type: string
          enum:
          - eur
        message:
          type: string
        instructions:
          type: string
    SupportRequest:
      type: object
      required:
      - amount_cents
      properties:
        amount_cents:
          type: integer
          description: Montant en centimes d'euro
          minimum: 50
        payment_method:
          type: string
          description: '"x402" pour payer en USDC via le protocole x402. Omettez pour Stripe.'
          enum:
          - x402
        agent_id:
          type: string
          description: Identifiant de l'agent
        agent_model:
          type: string
          description: Modèle IA utilisé
        message:
          type: string
          description: Message optionnel
          maxLength: 500
        contact:
          type: string
          description: Email ou URL de contact