Doc API

Terms of Service

Last updated: March 4, 2026

1. Acceptance of Terms

By accessing or using DocAPI's services — including our API, free tools (such as the Invoice Generator), and programmatic agent registration — you agree to be bound by these Terms of Service. If you do not agree to these terms, please do not use our services. These terms apply equally to human users and to AI agents or automated systems acting on behalf of a person or organization.

2. Description of Services

DocAPI provides:

  • PDF Generation API: A service for generating PDF documents and screenshots from HTML content programmatically, accessible via API key.
  • Agent Registration API: A programmatic endpoint (POST /api/register) that allows AI agents and automated systems to register for an account, receive an API key, and obtain a USDC payment address — without human interaction.
  • USDC Credit System: A pay-per-use credit system for agent accounts. Credits are purchased by sending USDC to a dedicated wallet address on Base mainnet. 1 USDC = 50 credits ($0.02 per API call).
  • Free Tools: Browser-based tools including our Invoice Generator, OG Image Generator, and Resume Builder that allow users to create documents without an account.
  • MCP Server: A hosted Model Context Protocol server at mcp.docapi.co exposing DocAPI capabilities as tools to MCP-compatible AI clients. Authentication is per-request via your API key; no credentials are stored server-side.

3. Free Tools

3.1 Available Tools

Our free browser-based tools include:

  • Invoice Generator — create and download PDF invoices
  • OG Image Generator — create Open Graph preview images
  • Resume Builder — create and download PDF resumes

3.2 No Data Storage

Our free tools do not store any data you enter. All information is processed in real-time to generate your output and is not saved on our servers. Once you close the browser tab, all entered data is lost.

3.3 Intended Use

Our free tools are provided for legitimate purposes only. You agree not to use these tools to:

  • Create fraudulent or misleading invoices
  • Impersonate other businesses or individuals
  • Engage in any illegal activities
  • Generate invoices for illegal goods or services

3.4 No Warranty

Our free tools are provided "as is" without any warranty. We do not guarantee that tools will be available at all times or that generated documents will meet specific legal requirements in your jurisdiction. You are responsible for ensuring any documents you create comply with applicable laws and regulations.

3.5 Tax Calculations

Any tax calculations performed by our tools are for convenience only. You are solely responsible for determining the correct tax rates and ensuring compliance with tax laws in your jurisdiction.

4. API Service

4.1 Account Registration

Accounts may be created by human users via the sign-up flow, or programmatically by AI agents via POST /api/register. Programmatic registration is rate-limited to 5 registrations per day per IP address. You are responsible for maintaining the confidentiality of your API key and for all activities that occur under your account, regardless of whether the account was created by a human or an automated system.

4.2 Usage Limits

For subscription accounts, API usage is subject to the limits of your plan. For agent (USDC credit) accounts, usage is limited by available credits. When credits reach zero, the API returns HTTP 402. We reserve the right to throttle or suspend access if usage violates these terms or is consistent with abuse.

4.3 Prohibited Content

You may not use our API to generate PDFs or screenshots containing:

  • Illegal content
  • Malware or malicious code
  • Content that infringes intellectual property rights
  • Hate speech or content promoting violence
  • Spam or phishing content

5. USDC Credits and Cryptocurrency Payments

5.1 How Credits Work

Agent accounts registered via POST /api/register receive 10 free credits on registration. Additional credits are purchased by sending USDC (USD Coin) to the dedicated wallet address returned at registration. The current rate is 50 credits per 1 USDC ($0.02 per API call). Credits do not expire.

5.2 Blockchain Transactions Are Irreversible

USDC payments are processed on the Base blockchain (an Ethereum L2 network). Blockchain transactions are final and irreversible once confirmed. DocAPI is not responsible for funds sent to an incorrect address, transactions that fail due to network conditions, or losses arising from user error. Always verify the USDC address before sending funds.

5.3 No Refunds on Credits

Credits are non-refundable once applied to an account. Unused credits are not redeemable for USDC or any other currency. If an account is terminated for violation of these terms, unused credits are forfeited.

5.4 Wallet Infrastructure

Dedicated USDC addresses are generated and managed via Coinbase Developer Platform (CDP). By using agent accounts, you acknowledge that payment wallet infrastructure is subject to Coinbase's terms of service. DocAPI periodically sweeps received USDC from agent wallets to our treasury using gasless smart account transactions on Base mainnet.

5.5 Automated Topup

If you implement automated USDC topup using the X-Credits-Remaining header pattern described in our documentation, you are solely responsible for the logic, timing, and amounts of those automated transfers. DocAPI is not liable for duplicate transfers, over-funding, or any losses resulting from automated payment systems you build and operate.

6. Subscription Billing (Human Accounts)

6.1 Stripe Payments

Monthly subscription plans are billed via Stripe. Subscriptions auto-renew unless cancelled. Refunds for subscription charges are handled at our discretion and subject to Stripe's policies.

6.2 Plan Changes and Cancellations

You may upgrade, downgrade, or cancel your subscription at any time via your dashboard. Downgrading or cancelling takes effect at the end of the current billing period. Unused calls do not roll over between billing periods.

7. Intellectual Property

You retain all rights to the content you create using our services. DocAPI retains all rights to its software, API, and services. You may not reverse engineer, decompile, or attempt to extract the source code of our services.

8. Limitation of Liability

To the maximum extent permitted by law, DocAPI shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to loss of profits, data, or business opportunities, arising from your use of our services.

DocAPI is not liable for losses arising from blockchain network failures, irreversible cryptocurrency transactions, or the actions of automated systems (including AI agents) operating under your API key.

Our total liability for any claims arising from these terms or your use of our services shall not exceed the amount you paid us in the twelve (12) months preceding the claim.

9. Indemnification

You agree to indemnify and hold harmless DocAPI and its officers, directors, employees, and agents from any claims, damages, losses, or expenses (including reasonable attorney fees) arising from your use of our services, violation of these terms, or the actions of any AI agent or automated system operating under your API key.

10. Modifications to Terms

We reserve the right to modify these terms at any time. We will notify users of material changes by posting the updated terms on our website. Your continued use of our services after such modifications constitutes acceptance of the updated terms.

11. Termination

We may suspend or terminate your access to our services at any time for violation of these terms or for any other reason at our sole discretion. Upon termination, your right to use our services will immediately cease. Unused USDC credits are forfeited upon termination for cause. USDC already swept to our treasury is not returned.

12. Governing Law

These terms shall be governed by and construed in accordance with the laws of the State of Delaware, United States, without regard to its conflict of law provisions.

13. Contact Information

If you have any questions about these Terms of Service, please contact us at [email protected].

Terms of Service - DocAPI | Doc API