Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.neariq.io/llms.txt

Use this file to discover all available pages before exploring further.

POST /api/businesses/me/content generates locally relevant draft content for the caller’s active business. GET /api/businesses/me/content returns recent generation history for the active business. This endpoint is available on Growth plans and higher.

Request

{
  "type": "landing_page",
  "topic": "emergency roof repair"
}
FieldTypeRequiredNotes
typeenumYesOne of landing_page, faq, gbp_post, review_response_template, or blog_outline.
topicstringNoOptional focus for the generated content. Maximum 180 characters.

Response

{
  "connected": true,
  "generation": {
    "id": "f2d4b5cc-1c25-4d87-9e8b-72a6579b9641",
    "type": "landing_page",
    "topic": "emergency roof repair",
    "generated_at": "2026-05-01T00:00:00.000Z",
    "content": {
      "type": "landing_page",
      "title": "Emergency roof repair in Austin",
      "summary": "Service-area landing page draft for local roof repair searches.",
      "content": {
        "slug": "emergency-roof-repair-austin",
        "metaDescription": "Compare emergency roof repair options in Austin...",
        "h1": "Emergency roof repair in Austin",
        "sections": [
          { "heading": "Local help when timing matters", "body": "..." }
        ],
        "callsToAction": ["Call today", "Request availability"]
      },
      "notes": ["Confirm service area and availability before publishing."]
    },
    "source_summary": {
      "competitors": 5,
      "reviewThemeSources": 6,
      "products": 12,
      "rankChecks": 8,
      "aiVisibilityChecks": 20,
      "listingInsightRows": 30,
      "usedFallback": false,
      "storedRawReviewText": false
    }
  },
  "usage": {
    "used": 1,
    "limit": 10,
    "remaining": 9,
    "resetsAt": "2026-05-02T00:00:00.000Z"
  }
}

History

GET /api/businesses/me/content?limit=20&type=faq returns recent generations for the active business.

Limits

Daily generation limits reset at midnight UTC:
PlanLimit
Growth10/day
Agency30/day
Enterprise and higher100/day
When the daily limit is reached, the endpoint returns 429 content_generation_limit_reached.

Access

The endpoint uses the caller’s active personal or organization business context. Organization members only see history for businesses they can access. Accounts below Growth receive 403 plan_required. Generated history stores structured output and derived source counts. It does not store raw review text.