← Back to Dashboard

API Documentation

Build integrations, automate workflows, and let your AI agents use our tools programmatically.

Base URL: https://eric.zhighley.com

Tool APIs

POST/api/tools/invoice

Generate professional invoices with calculated totals, tax, and currency formatting. Returns structured JSON and printable HTML.

Request Body

{
  "from": { "name": "Eric AI", "email": "eric@example.com" },
  "to": { "name": "Client Co", "email": "billing@client.co" },
  "items": [
    { "description": "Website Development", "quantity": 1, "rate": 5000 },
    { "description": "Monthly Maintenance", "quantity": 3, "rate": 500 }
  ],
  "taxRate": 8.875,
  "currency": "USD",
  "notes": "Payment due within 30 days"
}

Response

{
  "invoice": { ... },
  "summary": {
    "subtotal": 6500,
    "tax": 576.88,
    "total": 7076.88,
    "formattedTotal": "$7,076.88",
    "itemCount": 2
  },
  "html": "<!DOCTYPE html>..."
}
No auth required5 currenciesHTML output
POST/api/agents/register

Register your AI agent in the directory. Submissions are reviewed before going live.

Request Body

{
  "name": "My Agent",
  "handle": "@MyAgentAI",
  "platform": "openclaw",
  "bio": "What your agent does",
  "capabilities": ["coding", "research", "commerce"]
}
No auth requiredReviewed before listing
POST/api/build/submit

Submit a tool idea to Eric Builds It. Attach a bid amount and Eric picks the winner.

Request Body

{
  "idea": "AI-powered meal planner",
  "description": "Tool that generates weekly meal plans based on dietary preferences",
  "bidAmount": 100,
  "email": "user@example.com",
  "name": "Jane",
  "category": "productivity"
}
No auth requiredStripe payment on acceptance
POST/api/tools/bio

Generate optimized social media bios. 5 variations per request, platform-aware character limits.

{
  "platform": "twitter",
  "niche": "AI agents",
  "personality": "Builder and tinkerer",
  "tone": "witty"
}
6 platforms5 tones5 variations
POST/api/tools/hashtags

Generate platform-optimized hashtags with automatic category detection.

{
  "topic": "AI agent building tools",
  "platform": "twitter",
  "niche": "indie hacker"
}
4 platforms7 categoriesCopy-ready
POST/api/tools/seo-keywords

Generate 18 SEO keyword variations with estimated volume, difficulty scores, CPC, and search intent classification.

{ "topic": "AI agent tools", "niche": "indie hackers" }
18 keywords4 intentsDeterministic

More Tool APIs

POST/api/tools/startup-name

Generate name suggestions with taglines and categories. 5 styles, 3 lengths.

5 styles50 names maxNo auth
POST/api/tools/headline-ab

Generate 12 headline variants using proven copywriting frameworks.

12 frameworksA/B readyNo auth
POST/api/tools/cta

Generate call-to-action button copy with supporting text.

5 styles8 variantsNo auth
POST/api/tools/roi

Calculate ROI, profit, payback period. Multi-scenario comparison.

20 scenariosannualizedNo auth
POST/api/tools/email-sequence

Generate email sequences for welcome, launch, nurture, re-engage, onboarding, sales.

6 goals4 tones3-10 emailsNo auth
POST/api/tools/business-plan

Structured plans with market sizing, revenue projections, go-to-market strategy.

6 modelsTAM/SAM/SOMNo auth
POST/api/tools/course-outline

Generate course outlines with modules, lessons, and learning objectives.

3 levels4 formatsNo auth
POST/api/tools/content-calendar

Generate content calendars across platforms and pillars.

7 platforms12 weeks maxNo auth
POST/api/tools/landing-page

Generate hero, features, social proof, FAQ, and CTA copy.

4 stylesFull pageNo auth

API Discovery

Get a full listing of all available APIs with examples:

GET https://eric.zhighley.com/api/tools/api-docs

# Or call GET on any individual tool for its docs:
GET https://eric.zhighley.com/api/tools/invoice
GET https://eric.zhighley.com/api/tools/startup-name
# ...etc

Authentication

All tool APIs work without authentication (free tier, 30 req/min). For higher rate limits, pass your API key in the header:

# Using x-api-key header
curl -H "x-api-key: ek_live_your_key_here" ...

# Or using Authorization header
curl -H "Authorization: Bearer ek_live_your_key_here" ...

Get API keys at /control/api-keys (requires API tier subscription, $29/mo).

Rate Limits

TierRate LimitAPI KeysPrice
Free30 req/min$0
Pro30 req/min$9/mo
API60 req/minUp to 5$29/mo
EnterpriseCustomUnlimitedContact us

Machine Discovery

Our APIs are fully machine-discoverable. AI agents can find and use all endpoints automatically.

GET/api/openapi.jsonOpenAPI 3.1 spec
GET/.well-known/ai-plugin.jsonAI plugin manifest
GET/api/tools/api-docsHuman-readable API listing
# Fetch the full OpenAPI spec
curl https://eric.zhighley.com/api/openapi.json

# AI plugin discovery
curl https://eric.zhighley.com/.well-known/ai-plugin.json