Trillboards Verification API

Verify proof signatures

GitHub OpenAPI

Operations 1

POST /verify-proof Verify a proof signature #

Specifications

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/trillboards-com:trillboards-com-verification-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

trillboards-com-verification-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trillboards Proof-of-Play Verification API
  version: 2.0.0
  description: 'Cryptographically signed proofs of ad impressions for advertisers.


    ## Overview

    This API provides cryptographically signed proof-of-play records for ad impressions.

    Each proof contains an Ed25519 signature that can be independently verified by

    third parties using our public key.


    ## Signature Verification

    1. Fetch the public key from `/.well-known/public-key`

    2. Build the payload: `version.timestamp.adId.impressionId.screenId.deviceId`

    3. Verify using Ed25519: `verify(signature, payload, publicKey)`


    ## Signature Versions

    - **v2 (current)**: Ed25519 signatures - third-party verifiable

    - **v1 (deprecated)**: HMAC-SHA256 - requires shared secret'
  contact:
    name: Trillboards API Support
    url: https://trillboards.com/support
    email: api@trillboards.com
  license:
    name: Proprietary
    url: https://trillboards.com/terms
servers:
- url: https://api.trillboards.com/v1/advertiser/proof
  description: Production
- url: http://localhost:4004/v1/advertiser/proof
  description: Development
tags:
- name: Verification
  description: Verify proof signatures
paths:
  /verify-proof:
    post:
      tags:
      - Verification
      summary: Verify a proof signature
      description: 'Verify the cryptographic signature of a proof.

        Supports both v1 (HMAC) and v2 (Ed25519) signatures.


        **No authentication required** - third parties can verify proofs independently.'
      operationId: verifyProof
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyProofRequest'
            example:
              signature: ed25519=a1b2c3...
              timestamp: 1705401600000
              adId: campaign-123
              impressionId: imp-456
              screenId: screen-789
              deviceId: device-abc
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyProofResponse'
        '400':
          description: Missing required fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    VerifyProofResponse:
      type: object
      properties:
        success:
          type: boolean
        verification:
          type: object
          properties:
            valid:
              type: boolean
              description: Whether the signature is valid
            version:
              type: string
              enum:
              - v1
              - v2
            reason:
              type: string
              description: Reason for invalid signature (if applicable)
        publicKeyUrl:
          type: string
        verifiedAt:
          type: string
          format: date-time
    VerifyProofRequest:
      type: object
      required:
      - signature
      - timestamp
      properties:
        signature:
          type: string
          description: 'Signature to verify (format: ed25519=<hex> or sha256=<hex>)'
        signatureVersion:
          type: string
          enum:
          - v1
          - v2
          description: Optional explicit version (auto-detected from prefix)
        timestamp:
          oneOf:
          - type: integer
            description: Unix timestamp (milliseconds)
          - type: string
            format: date-time
        adId:
          type: string
        impressionId:
          type: string
        screenId:
          type: string
        deviceId:
          type: string
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - false
        message:
          type: string
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token from /v1/user/login