Val Town blobs API

Blobs

Operations 8

GET /v1/blob #
GET /v1/blob/{key} #
POST /v1/blob/{key} #
DELETE /v1/blob/{key} #
GET /v2/blob #
GET /v2/blob/{key} #
POST /v2/blob/{key} #
DELETE /v2/blob/{key} #

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/val-town-blobs-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

val-town-blobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Val Town alias Blobs API
  description: 'Val Town’s public API


    OpenAPI JSON endpoint:


    https://api.val.town/openapi.json'
  termsOfService: https://www.val.town/termsofuse
  version: '1'
servers:
- url: https://api.val.town
  description: Production
tags:
- name: blobs
  description: Blobs
paths:
  /v1/blob:
    get:
      operationId: v1blobsList
      tags:
      - blobs
      description: List blobs in your account
      parameters:
      - schema:
          type: string
        in: query
        name: prefix
        required: false
        description: If specified, only include blobs that start with this string
      responses:
        '200':
          description: List of blobs that you’ve stored
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required:
                  - key
                  properties:
                    key:
                      type: string
                    size:
                      type: integer
                      description: Size in bytes of the object
                    lastModified:
                      type: string
                      description: Creation date of the object
                      format: date-time
                  title: BlobListingItem
                description: List of blobs that you’ve stored
              example:
              - key: hello_world
                size: 20
                lastModified: '2024-06-24T20:00:59.702Z'
  /v1/blob/{key}:
    get:
      operationId: v1blobsGet
      tags:
      - blobs
      description: Get a blob’s contents.
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 512
        in: path
        name: key
        required: true
        description: Key that uniquely identifies this blob
      responses:
        '200':
          description: Binary contents of the returned file
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
    post:
      operationId: v1blobsStore
      tags:
      - blobs
      description: Store data in blob storage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: string
              format: binary
              description: Binary input data
        description: Binary input data
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 512
        in: path
        name: key
        required: true
        description: Key that uniquely identifies this blob
      security:
      - bearerAuth: []
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: string
                enum:
                - ok
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                  message:
                    type: string
    delete:
      operationId: v1blobsDelete
      tags:
      - blobs
      description: Delete a blob
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 512
        in: path
        name: key
        required: true
        description: Key that uniquely identifies this blob
      security:
      - bearerAuth: []
      responses:
        '204':
          description: Blob successfully deleted
  /v2/blob:
    get:
      operationId: v2blobsList
      tags:
      - blobs
      description: List blobs in your account
      parameters:
      - schema:
          type: string
        in: query
        name: prefix
        required: false
        description: If specified, only include blobs that start with this string
      responses:
        '200':
          description: List of blobs that you’ve stored
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required:
                  - key
                  properties:
                    key:
                      type: string
                    size:
                      type: integer
                      description: Size in bytes of the object
                    lastModified:
                      type: string
                      description: Creation date of the object
                      format: date-time
                  title: BlobListingItem
                description: List of blobs that you’ve stored
              example:
              - key: hello_world
                size: 20
                lastModified: '2024-06-24T20:00:59.702Z'
  /v2/blob/{key}:
    get:
      operationId: v2blobsGet
      tags:
      - blobs
      description: Get a blob’s contents.
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 512
        in: path
        name: key
        required: true
        description: Key that uniquely identifies this blob
      responses:
        '200':
          description: Binary contents of the returned file
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
    post:
      operationId: v2blobsStore
      tags:
      - blobs
      description: Store data in blob storage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: string
              format: binary
              description: Binary input data
        description: Binary input data
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 512
        in: path
        name: key
        required: true
        description: Key that uniquely identifies this blob
      security:
      - bearerAuth: []
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: string
                enum:
                - ok
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                  message:
                    type: string
    delete:
      operationId: v2blobsDelete
      tags:
      - blobs
      description: Delete a blob
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 512
        in: path
        name: key
        required: true
        description: Key that uniquely identifies this blob
      security:
      - bearerAuth: []
      responses:
        '204':
          description: Blob successfully deleted
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Endpoints that support authorization expect Bearer authentication, using an API token provided from Val Town.
externalDocs:
  url: https://api.val.town/documentation
  description: Find more info here