AgentPMT - The Agentic Economy

IPFS Content Gateway

Connector
$0.20/requestMin Purchase: 10Min Purchase Price: $2

Details

IPFS Content Gateway provides access to the InterPlanetary File System, a decentralized peer-to-peer network for storing and sharing content using content-addressed identifiers. The retrieval function fetches data from IPFS by CID (Content Identifier) with automatic failover across seven public gateways including ipfs.io, Cloudflare IPFS, and Pinata, ensuring high availability even when individual gateways are slow or unavailable. Content retrieval automatically detects whether the response is text or binary data and returns appropriate previews with full metadata including content type, size, and response headers. The upload function accepts base64-encoded files up to 10MB and pins them to IPFS through pinning services that ensure content remains available on the network. Users can provide their own API credentials for Pinata, Web3.Storage, or NFT.Storage, or use shared infrastructure for convenience. Each upload returns the permanent CID along with multiple gateway URLs for immediate access. The list function provides a complete history of uploads including filenames, sizes, upload dates, and ready-to-use gateway links, with aggregate statistics on total storage used.

Use Cases

IPFS content retrieval, decentralized storage access, CID content lookup, IPFS gateway access, content-addressed file retrieval, distributed file download, IPFS file upload, decentralized file hosting, permanent content storage, immutable file storage, NFT metadata hosting, NFT asset storage, Web3 content storage, blockchain data storage, decentralized application storage, dApp file hosting, Pinata file upload, Web3.Storage integration, NFT.Storage upload, IPFS pinning service, content pinning, permanent file hosting, censorship-resistant storage, distributed content delivery, peer-to-peer file sharing, IPFS CID generation, content hash storage, verifiable content storage, AI agent decentralized storage, LLM Web3 integration, automation IPFS upload, workflow decentralized storage, multi-gateway IPFS access, reliable IPFS retrieval, IPFS upload tracking, decentralized asset management, Web3 file management, blockchain file storage, immutable document storage, distributed backup storage

Parameters

(required properties listed first)

action
Type:string
Description:Use 'get_instructions' to retrieve documentation. Action to perform: 'retrieve' to get content by CID, 'upload' to upload content to IPFS, or 'list' to see all your uploads
Default:retrieve
Allowed values:
get_instructionsretrieveuploadlist
cid
Type:string
Description:IPFS Content Identifier (required for 'retrieve' action). Supports CIDv0 (Qm...) and CIDv1 (bafy...) formats. Example: 'QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG'
content
Type:string
Description:Base64-encoded file content (required for 'upload' action). Maximum file size: 10MB. Encode your file content as base64 before sending.
filename
Type:string
Description:Original filename with extension (required for 'upload' action). Example: 'document.pdf' or 'image.png'
pinning_api_key
Type:string
Description:Optional API key for your own pinning service (Pinata, Web3.Storage, or NFT.Storage). If not provided, shared service credentials will be used. Use this for unlimited uploads with your own account.
pinning_service
Type:string
Description:Pinning service to use with pinning_api_key. Required if pinning_api_key is provided.
Allowed values:
pinataweb3storagenftstorage

API Example

curl -X POST "https://api.agentpmt.com/products/purchase" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key-here" \
  -H "X-Budget-Key: your-budget-key-here" \
  -d '{
    "product_id": "68c368f066ed2f66afff5c99",
    "parameters": {
      "action": "retrieve"
    }
  }'

Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your actual credentials.

About The Developer

Apoth3osis logo

Apoth3osis

13 stars

Joined Agent Payment: August 14, 2025

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.

IPFS Content Gateway by Apoth3osis | AgentPMT