LaunchKit · 2026
Back to Skills

pinata-api

Pinata IPFS API for file storage, groups, gateways, signatures, x402 payments, and file vectorization.

0
695 downloads
by @iammatthias

Setup & Installation

openclaw skills install @iammatthias/pinata-api

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install pinata-api

Version History

v1.0.9Feb 20, 2026 - Version note by skill developer:

- Environment variable names updated: `GATEWAY_URL` → `PINATA_GATEWAY_URL`, `GATEWAY_KEY` → `PINATA_GATEWAY_KEY` throughout the documentation and metadata. - References in sample URLs, usage instructions, and notes now consistently use `PINATA_GATEWAY_URL`. - No changes to endpoints or API functionality. Documentation only.

What This Skill Does

Provides access to Pinata's IPFS storage API. Covers file uploads, group management, gateway configuration, EIP-712 content signatures, x402 micropayment setup, and AI-powered vector search across stored files.

Combines IPFS pinning, access control, payments, and vector search in one API instead of stitching together separate services.

When to use it

  • Uploading and organizing files on IPFS with metadata tags
  • Generating temporary signed URLs for private file access
  • Setting up pay-per-access IPFS content with USDC on Base
  • Running semantic search over a collection of stored documents
  • Pinning existing IPFS CIDs to a Pinata account

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: upload a file to a private IPFS group and return a temporary download link

AGENT
  1. 1Upload the file via POST to uploads.pinata.cloud/v3/files with network=private and the target group_id
  2. 2Retrieve the file's CID from the upload response
  3. 3POST to api.pinata.cloud/v3/files/private/download_link with the gateway URL, expiry, and current Unix timestamp
  4. 4Return the signed URL to the user
OUTPUT

A temporary signed URL valid for the specified duration that grants access to the private file

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

PINATA_JWT environment variable (get from app.pinata.cloud/developers/api-keys)PINATA_GATEWAY_URL environment variable (find at app.pinata.cloud/gateway)Pinata account