PureCipher Hash API

The Hash API from PureCipher — 3 operation(s) for hash.

GitHub OpenAPI

Operations 3

POST /api/v1/hash/image Generate a SHA-256 Hash for an Image #
POST /api/v1/hash/text Generate a SHA-256 Hash for a Document #
POST /api/v1/hash/compare Compare the SHA-256 Hashes of Two Uploaded Files #

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/purecipher-com:purecipher-com-hash-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

purecipher-com-hash-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Omniseal™ API Documentation Hash API
  version: '2.0'
tags:
- name: Hash
paths:
  /api/v1/hash/image:
    post:
      tags:
      - Hash
      summary: Generate a SHA-256 Hash for an Image
      description: This endpoint computes the SHA-256 hash for an image file. Supported image formats include PNG, JPEG, and DICOM.
      operationId: hash_image_api_v1_hash_image_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_hash_image_api_v1_hash_image_post'
            examples:
              HashingError:
                summary: Hashing Error
                value:
                  detail: Error processing the image
        required: true
      responses:
        '200':
          description: Successful Hash Computation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HashSuccessResponse'
        '415':
          description: Unsupported Media Type - Invalid Image Format
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
        '500':
          description: Internal Server Error - Hashing Failure
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/hash/text:
    post:
      tags:
      - Hash
      summary: Generate a SHA-256 Hash for a Document
      description: This endpoint computes the SHA-256 hash for a document file. Supported document formats include PDF, Microsoft Word, Excel, and PowerPoint.
      operationId: hash_document_api_v1_hash_text_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_hash_document_api_v1_hash_text_post'
            examples:
              HashingError:
                summary: Hashing Error
                value:
                  detail: Error processing the document
        required: true
      responses:
        '200':
          description: Successful Hash Computation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HashSuccessResponse'
        '415':
          description: Unsupported Media Type - Invalid Document Format
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
        '500':
          description: Internal Server Error - Hashing Failure
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/hash/compare:
    post:
      tags:
      - Hash
      summary: Compare the SHA-256 Hashes of Two Uploaded Files
      description: This endpoint compares the SHA-256 hashes of two uploaded files and returns whether the hashes match.
      operationId: compare_hashes_api_v1_hash_compare_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_compare_hashes_api_v1_hash_compare_post'
            examples:
              ComparisonError:
                summary: Comparison Error
                value:
                  detail: Error during hash comparison
        required: true
      responses:
        '200':
          description: Successful Hash Comparison
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompareResponse'
        '500':
          description: Internal Server Error - Comparison Failure
          content:
            application/json:
              schema:
                properties:
                  detail:
                    type: string
                type: object
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
components:
  schemas:
    Body_compare_hashes_api_v1_hash_compare_post:
      properties:
        original_file:
          type: string
          format: binary
          title: Original File
          description: The original file for comparison.
        extracted_file:
          type: string
          format: binary
          title: Extracted File
          description: The extracted file for comparison.
      type: object
      required:
      - original_file
      - extracted_file
      title: Body_compare_hashes_api_v1_hash_compare_post
    Body_hash_document_api_v1_hash_text_post:
      properties:
        document:
          type: string
          format: binary
          title: Document
          description: The document file to hash (PDF, Word, Excel formats supported).
      type: object
      required:
      - document
      title: Body_hash_document_api_v1_hash_text_post
    CompareResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Indicates whether the hash comparison was successful.
        match:
          type: boolean
          title: Match
          description: True if the original and extracted files have matching hashes.
        original_hash:
          type: string
          title: Original Hash
          description: The SHA-256 hash of the original file.
        extracted_hash:
          type: string
          title: Extracted Hash
          description: The SHA-256 hash of the extracted file.
        error:
          type: string
          title: Error
          description: An optional field that contains error details if the comparison fails.
      type: object
      required:
      - success
      title: CompareResponse
    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
    Body_hash_image_api_v1_hash_image_post:
      properties:
        image_file:
          type: string
          format: binary
          title: Image File
          description: The image file to hash (PNG, JPEG, DICOM formats supported).
      type: object
      required:
      - image_file
      title: Body_hash_image_api_v1_hash_image_post
    HashSuccessResponse:
      properties:
        hash:
          type: string
          title: Hash
          description: The computed SHA-256 hash of the file.
      type: object
      required:
      - hash
      title: HashSuccessResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: api_token
x-tagGroups:
- name: General
  tags:
  - Registration
  - Health and Readiness
- name: Release 3
  tags:
  - Audio
  - Video
- name: Release 2
  tags:
  - Unified API
  - Edix12
  - Data Lineage
  - Data Provenance
  - Base64
- name: Release 1
  tags:
  - Signature
  - Encryption
  - Hash
  - Steganography