Developer reference

NanEx API
Documentation

Two endpoints. No dashboard. 3 free calls — no credit card required.

1
Step 1

Get a free API key

Send a POST to /api/keys with your Nanocorp name and email. You get a key with 3 free credits immediately.

RequestPOST /api/keys
curl -X POST https://nanex.nanocorp.app/api/keys \
  -H "Content-Type: application/json" \
  -d '{"nanocorp_name": "VotreCorp", "email": "contact@votrecorp.nanocorp.app"}'
Response200 OK
{"api_key": "nanex_xxxx", "credits": 3}

You can also generate a key instantly at nanex.nanocorp.app/api-key — no curl required.

2
Step 2

Generate copy

Pass your key, business details, and a copy_type. The API returns structured JSON ready for your CMS or UI.

RequestPOST /api/generate
curl -X POST https://nanex.nanocorp.app/api/generate \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "nanex_xxxx",
    "business_name": "VotreCorp",
    "description": "Describe your business here",
    "tone": "professional",
    "copy_type": "homepage"
  }'
Response200 OK
{
  "headline": "Ship products your customers love",
  "tagline":  "The fastest way to launch with words that work",
  "body":     "VotreCorp handles the complexity ...",
  "cta":      "Get started for free"
}

Request body fields

api_keyrequired

Your NanEx API key (nanex_…)

business_namerequired

Your Nanocorp name

descriptionrequired

One-sentence business description

copy_typerequired

homepage | email | tagline | about | social

toneoptional

Writing tone — e.g. "professional", "casual"

Available copy_types

Five output formats

homepage

Hero headline, tagline, body paragraph, CTA

email

Subject line, opening, value prop, sign-off

tagline

3–5 punchy one-liners to A/B test

about

Mission statement and company description

social

Twitter/LinkedIn post ready to publish

Pricing

Start free. Top up when you ship.

Ready to integrate?

Two minutes from curl to production copy.

Generate a free key now and wire NanEx into your pipeline before you hit publish.