Documentation Index
Fetch the complete documentation index at: https://docs.nano-gpt.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
NanoGPT exposes data extraction APIs for web, maps, social, and email/domain intelligence workflows. These endpoints require API key authentication. Each request estimates a maximum charge before running. Some endpoints requiremaxTotalChargeUsd when the result count is unbounded.
Authentication
Use either header:Authorization: Bearer YOUR_API_KEYx-api-key: YOUR_API_KEY
Shared Billing and Runtime Behavior
- Responses include returned data plus NanoGPT billing metadata.
- Partial results may still be billed if the extraction job produced usable data before failing.
- Result limits exist, commonly up to 5,000 returned items for social and data scrapers.
- Long-running calls can take up to several minutes.
- For unbounded searches, set
maxTotalChargeUsdto cap spend. - Use
resultLimit,resultsLimit, or endpoint-specific max-count fields to keep runs bounded.
Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/api/v1/firecrawl | POST | Web page scraping, site maps, and crawls. |
/api/v1/googlemaps | POST | Google Maps place search and detail extraction. |
/api/v1/googlemaps/reviews | POST | Google Maps review extraction. |
/api/v1/facebook/ads | POST | Facebook/Meta ad library extraction. |
/api/v1/instagram/profile | POST | Instagram profile extraction. |
/api/v1/instagram/posts | POST | Instagram post extraction. |
/api/v1/reddit | POST | Reddit post, comment, community, and user extraction. |
/api/v1/tiktok | POST | TikTok hashtag, profile, search, and post extraction. |
/api/v1/hunter | GET, POST | Email/domain intelligence pass-through. |
/api/v1/hunter/{path} | GET, POST | Email/domain intelligence pass-through with path selection. |
Web Crawling
Body
Operations
scrapemapcrawl
Important Parameters
| Parameter | Description |
|---|---|
url | Required target URL. |
operation | Operation to run. Must be one of scrape, map, or crawl when provided. |
limit | Page or item limit for map and crawl. |
search | Optional search string for map. |
maxReturnedPages | Maximum pages returned for crawl. |
waitForFinishSecs | Wait time, capped at 240 seconds. |
Google Maps
Required Input
Provide at least one of:searchStringsArraystartUrlsplaceIds- scrape-all-places option, when supported
Important Parameters
maxTotalChargeUsdresultLimitmaxCrawledPlacesPerSearchscrapePlaceDetailPagescrapeContactsscrapeSocialMediaProfilesmaxReviewsmaxImages- filters such as category, rating, website availability, and closed-place handling when supported
Google Maps Reviews
Required Input
Provide at least one of:startUrlsplaceIds
Important Parameters
maxReviewsreviewsSortreviewsStartDatemaxTotalChargeUsdresultLimit
If you use
reviewsStartDate, sort reviews by newest first.Facebook Ads
Required Input
startUrls: at least one Facebook Page URL or Meta Ad Library URL.
Important Parameters
resultsLimitactiveStatus:activeorinactivemaxTotalChargeUsdresultLimit
Instagram Profile
Required Input
usernameorusernames: Instagram username, profile URL, or profile ID.
Important Parameters
includeAboutSectionmaxTotalChargeUsdresultLimit
Instagram Posts
Required Input
username: one or more Instagram usernames, profile URLs, or post URLs.
Important Parameters
resultsLimitdataDetailLevel:basicDataordetailedDataskipPinnedPostsmaxTotalChargeUsdresultLimit
Required Input
Provide at least one of:startUrls: Reddit URLs fromreddit.comorredd.itsearches: search terms
Important Parameters
maxItemsmaxPostCountmaxCommentsmaxCommunitiesmaxUserssearchPostssearchCommentssearchCommunitiessearchUsersmaxTotalChargeUsdresultLimit
TikTok
Required Input
Provide at least one of:hashtagsprofilessearchQueriespostURLs
Important Parameters
resultsPerPagemaxProfilesPerQuerysearchSection- transcription options, if exposed
maxTotalChargeUsdresultLimit
Hunter
Hunter endpoints provide pass-through style email/domain intelligence with NanoGPT billing. Users authenticate with NanoGPT; do not pass a separate Hunter API key. Supported examples include:domain-searchemail-finderemail-verifierdiscover
Endpoints
GET, query params are forwarded except:
api_keyapiKeyendpointpath
POST, JSON body params are forwarded. Use endpoint or path to select the target path. A nested params object is also supported.