← Back to Home
Enterprise API

BProtector REST API

Protect, deprotect, and manage files via IPFS programmatically. Bring your own Pinata key, pay only on-chain fees + subscription.

🧪 Advanced Protection Suite (Enterprise API Support)

The optional advanced features — recovery phrase, Shamir secret sharing, dead man's switch, and proof of existence — keep all secrets client-side: recovery phrases, Shamir shares, and passwords never touch this API. The API does let enterprises record and query the non-secret metadata: pass feature flags, the AES-encrypted manifest, the DMS reveal date, the proof fingerprint, and Shamir M-of-N on POST /protect; and query feature/DMS info via GET /metadata/:coverFileId and GET /metadata/dms. No smart-contract changes required.

Authentication

All authenticated endpoints require a BProtector API key passed via the Authorization header. Obtain your API key from the admin panel or contact support.

Authorization: Bearer bp_your_64_character_api_key_here

Security: Your API key grants full access to your stored Pinata JWT and IPFS operations. Never expose it in client-side code or public repositories.

Base URL

Production:  https://api.bprotector.io
Local Dev:   http://localhost:3001

Subscription Plans

PlanMonthly UploadsBandwidthAPI Price
Free10/mo500 MB/mo0 SOL
Starter100/mo5 GB/mo0.05 SOL
Professional1,000/mo50 GB/mo0.2 SOL
Enterprise10,000/mo500 GB/mo1.0 SOL

Note: On-chain Solana transaction fees (set by the contract owner) apply in addition to the API subscription price.

Error Codes

CodeMeaningAction
401Invalid or missing API keyCheck your Authorization header
403Account deactivated or plan expiredContact support or renew subscription
404Resource not foundVerify the CID, coverFileId, or endpoint path
429Rate limit / quota exceededUpgrade your plan or wait for period reset
500Server errorRetry with exponential backoff

Endpoints

Quick Start (JavaScript)

const API_KEY = 'bp_your_api_key_here';
const BASE = 'http://localhost:3001';

// Upload file to IPFS
const formData = new FormData();
formData.append('files', fileInput.files[0]);

const res = await fetch(`${BASE}/api/v1/ipfs/upload`, {
  method: 'POST',
  headers: { Authorization: `Bearer ${API_KEY}` },
  body: formData,
});

const { data } = await res.json();
console.log('CID:', data.cid);
console.log('Gateway:', data.gatewayUrl);

Coming Soon

Official SDKs are under development:

JavaScript/TypeScriptPythonGoRust
BProtector

Pioneering decentralized data protection on Solana.

Contact

Strategic partnerships, acquisition & enterprise licensing inquiries welcome.

Owner Telegram

Disclaimer: BProtector is provided for lawful data-protection use cases. Users are solely responsible for compliance with applicable laws. Cryptographic guarantees are probabilistic; always maintain independent backups.

© BPROTECTOR 2025 | Powered by Solana |