YourImageShare Chunk API

The Chunk API from YourImageShare, for chunk.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /chunk Send one piece of a large file #

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/yourimageshare-com:yourimageshare-com-chunk-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

yourimageshare-com-chunk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: YourImageShare Chunk API
  version: 1.0.0
  description: 'Free JSON/REST API for YourImageShare - upload, list, and delete image/video files. Every request needs an API key. Official client libraries: JavaScript/TypeScript (`yourimageshare` on npm), Python (`yourimageshare` on PyPI), an MCP server (`yourimageshare-mcp` on npm, also hosted at https://yourimageshare.com/mcp - streamable HTTP, uploads work there without an API key) for AI agents, and a Discord bot.'
  termsOfService: https://yourimageshare.com/about/terms-and-conditions
  contact:
    url: https://yourimageshare.com/contact
  license:
    name: MIT
    url: https://github.com/yourimageshare/yourimageshare/blob/main/LICENSE
servers:
- url: https://yourimageshare.com/api
  description: Production
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: Chunk
paths:
  /chunk:
    post:
      operationId: uploadChunk
      summary: Send one piece of a large file
      description: 'For files over 100MB (up to 200MB) or slow connections: send the file in pieces of at most 5MB with the same 32-hex-character upload_id, index 0..total-1, then call POST / with upload_id and filename. Unfinished uploads are deleted after 2 hours. Only the finishing POST / counts toward the upload rate limits (pieces: 300 a minute per key).'
      security:
      - ApiKeyHeader: []
      - ApiKeyQuery: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - upload_id
              - index
              - total
              - chunk
              properties:
                upload_id:
                  type: string
                  pattern: ^[a-f0-9]{32}$
                  description: 32 random hex characters, the same for every piece of one file.
                index:
                  type: integer
                  minimum: 0
                  description: 0-based piece number.
                total:
                  type: integer
                  minimum: 1
                  maximum: 40
                  description: Number of pieces.
                chunk:
                  type: string
                  format: binary
                  description: The bytes of this piece, at most 5MB.
      responses:
        '200':
          description: Piece stored.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                    - success
                  chunk_size:
                    type: integer
                    example: 5242880
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: This account or IP is currently banned from uploading.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Invalid piece, too many unfinished uploads, or uploads temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Chunk
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        type:
          type: string
          const: error
        errors:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your API key or upload-only key, from the API tab at https://yourimageshare.com/my-account. The full API key can upload, list, and delete. The upload-only key can only upload (list/delete return 401 for it) - use it anywhere the value ends up visible to others, and the full key only in trusted server-side code.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: key
      description: Fallback for the X-API-Key header (same key types accepted), kept for older integrations. If both are present, the header wins.
externalDocs:
  description: Full human-readable API reference
  url: https://yourimageshare.com/about/api