{"openapi":"3.1.0","info":{"title":"NameStation API","version":"1.3.0","description":"Generate brand names, find available domains, check names across extensions and the aftermarket, analyze a domain, screen trademarks, and save shareable name lists on a NameStation account.","termsOfService":"https://www.namestation.com/terms","contact":{"name":"NameStation","url":"https://www.namestation.com/integrations/api"},"license":{"name":"Proprietary","url":"https://www.namestation.com/terms"}},"servers":[{"url":"https://api.namestation.com/v1"}],"paths":{"/domains/find":{"post":{"operationId":"find_available_domains","summary":"Generate names with available domains","description":"Generate brand names for a brief and return only the ones whose domain is available to register now, ranked best first, with a register_url for each. Costs 10 credits, charged only when at least one available domain comes back. Names in exclude are omitted. more_url opens the same search on NameStat","tags":["Generation"],"security":[{"bearerAuth":[]},{"oauth2":["names.generate"]}],"x-openai-isConsequential":true,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}}},"available_count":{"type":"number"},"more_url":{"type":"string"},"credits_charged":{"type":"number"},"credits_remaining":{"type":"number"}},"required":["names","more_url","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","minLength":2,"maxLength":4000,"description":"What the name is for: the product or business, who it is for, and the feel. A sentence or two."},"keywords":{"description":"Words to lean on or include","maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"starts_with":{"description":"Every name starts with this","type":"string","maxLength":20},"ends_with":{"description":"Every name ends with this","type":"string","maxLength":20},"min_length":{"description":"Minimum name length in characters","type":"integer","minimum":1,"maximum":30},"max_length":{"description":"Maximum name length in characters. Default 14.","type":"integer","minimum":3,"maximum":30},"style":{"description":"one_word, two_words, or any","type":"string","enum":["one_word","two_words","any"]},"approach":{"description":"Naming approach, such as \"invented words\", \"real words\", \"playful\", or \"Latin roots\"","type":"string","maxLength":200},"location":{"description":"A place to reflect in the names","type":"string","maxLength":80},"language":{"description":"Language for the names, such as Spanish","type":"string","maxLength":40},"exclude":{"description":"Names to leave out of the results.","maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"count":{"description":"How many names to return, up to 50. Default 20.","type":"integer","minimum":1,"maximum":50},"extensions":{"description":"TLDs to check, such as [\".com\", \".io\"]. Default [\".com\"]. The first one is used for generation. Extensions NameStation cannot check are skipped.","maxItems":8,"type":"array","items":{"type":"string","minLength":2,"maxLength":25}},"include_for_sale":{"description":"Also return taken domains that are listed for sale, with price","type":"boolean"}},"required":["description"]}}}}}},"/names/generate":{"post":{"operationId":"generate_name_ideas","summary":"Generate name ideas","description":"Generate brand, product, or business name ideas from a brief. Does not check whether a domain is available. Costs 10 credits. Names in exclude are omitted.","tags":["Generation"],"security":[{"bearerAuth":[]},{"oauth2":["names.generate"]}],"x-openai-isConsequential":true,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}}},"available_count":{"type":"number"},"more_url":{"type":"string"},"credits_charged":{"type":"number"},"credits_remaining":{"type":"number"}},"required":["names","more_url","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","minLength":2,"maxLength":4000,"description":"What the name is for: the product or business, who it is for, and the feel. A sentence or two."},"keywords":{"description":"Words to lean on or include","maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"starts_with":{"description":"Every name starts with this","type":"string","maxLength":20},"ends_with":{"description":"Every name ends with this","type":"string","maxLength":20},"min_length":{"description":"Minimum name length in characters","type":"integer","minimum":1,"maximum":30},"max_length":{"description":"Maximum name length in characters. Default 14.","type":"integer","minimum":3,"maximum":30},"style":{"description":"one_word, two_words, or any","type":"string","enum":["one_word","two_words","any"]},"approach":{"description":"Naming approach, such as \"invented words\", \"real words\", \"playful\", or \"Latin roots\"","type":"string","maxLength":200},"location":{"description":"A place to reflect in the names","type":"string","maxLength":80},"language":{"description":"Language for the names, such as Spanish","type":"string","maxLength":40},"exclude":{"description":"Names to leave out of the results.","maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"count":{"description":"How many names to return, up to 50. Default 20.","type":"integer","minimum":1,"maximum":50}},"required":["description"]}}}}}},"/domains/check":{"post":{"operationId":"check_domains","summary":"Check domain availability","description":"Check domains live and report whether each is available, taken, or listed for sale, with price. One domain usually returns in about a second. Up to 1000 domains a call on any mix of extensions. Domains that run out of time come back in not_checked. Extensions NameStation cannot check come back in un","tags":["Checks"],"security":[{"bearerAuth":[]},{"oauth2":["domains.check"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}}},"unsupported":{"description":"Domains on extensions NameStation cannot check","type":"array","items":{"type":"string"}},"not_checked":{"description":"Domains the call ran out of time for.","type":"array","items":{"type":"string"}},"available_count":{"type":"number"},"credits_charged":{"type":"number"}},"required":["names","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domains":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":3,"maxLength":140},"description":"Full domains such as \"example.com\": one for a quick check, or up to 1000 a call on any mix of extensions."},"include_for_sale":{"description":"Check taken domains for aftermarket listings and price. Default true.","type":"boolean"}},"required":["domains"]}}}}}},"/domains/all-extensions":{"post":{"operationId":"check_all_extensions","summary":"Check one name on every extension","description":"Check one name across many extensions at once (.com, .io, .ai, .co, and the rest) and return which are available or for sale. scope top covers the popular extensions, country the country codes, all every extension NameStation checks. No credits; needs a paid plan or trial and counts toward the daily","tags":["Checks"],"security":[{"bearerAuth":[]},{"oauth2":["domains.check"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"name":{"type":"string"},"scope":{"type":"string"},"checked":{"type":"number"},"available_count":{"type":"number"},"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}}},"credits_charged":{"type":"number"}},"required":["name","scope","checked","available_count","names","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":63,"description":"The name to check, such as \"brightnest\". A domain like brightnest.com uses its name part."},"scope":{"description":"top: popular extensions (default). country: country codes. all: every extension NameStation can check.","type":"string","enum":["top","country","all"]},"include_for_sale":{"description":"Check taken domains for aftermarket listings and price. Default true.","type":"boolean"}},"required":["name"]}}}}}},"/domains/lookup":{"post":{"operationId":"lookup_domain","summary":"Availability, brand analysis, and trademarks for one domain","description":"One domain: live availability or aftermarket price, an AI brand analysis (score out of 10, what it evokes, industries it suits, cultural and brand-confusion risks), and a USPTO/EUIPO trademark screen. The analysis costs 5 credits, or nothing when NameStation already has it. include_analysis false sk","tags":["Generation"],"security":[{"bearerAuth":[]},{"oauth2":["domains.check"]}],"x-openai-isConsequential":true,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"domain":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}},"analysis":{"anyOf":[{"type":"object","properties":{"overall_score":{"type":"number"},"verdict":{"type":"string"},"scores":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"associations":{"type":"array","items":{"type":"string"}},"industry_fit":{"type":"array","items":{"type":"string"}},"cultural_risk":{"type":"string"},"competitive_risk":{"type":"string"}},"required":["overall_score","verdict","scores","associations","industry_fit","cultural_risk","competitive_risk"],"additionalProperties":{}},{"type":"null"}]},"trademark":{"anyOf":[{"type":"object","properties":{"verdict":{"type":"string","enum":["clear","caution","risk","unknown"]},"exact_match":{"type":"boolean"},"hits":{"type":"array","items":{"type":"object","properties":{"mark":{"type":"string"},"source":{"type":"string"},"status":{"type":["string","null"]}},"required":["mark","source","status"],"additionalProperties":{}}}},"required":["verdict","exact_match","hits"],"additionalProperties":{}},{"type":"null"}]},"more_url":{"type":"string"},"credits_charged":{"type":"number"}},"required":["domain","analysis","trademark","more_url","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","minLength":2,"maxLength":140,"description":"The domain to look up, such as \"brightnest.com\". A bare name is treated as .com."},"include_analysis":{"description":"Add an AI brand analysis: scores, perception, risks. Default true. Costs 5 credits unless the analysis is already cached.","type":"boolean"},"include_trademarks":{"description":"Screen the name against USPTO and EUIPO. Default true.","type":"boolean"}},"required":["domain"]}}}}}},"/domains/alternatives":{"post":{"operationId":"find_alternatives","summary":"Available alternatives to a taken domain","description":"Given a domain that is taken or too expensive, generate names in the same style and return only those available to register, with register_url. Costs 5 credits, charged only when at least one available alternative comes back.","tags":["Generation"],"security":[{"bearerAuth":[]},{"oauth2":["names.generate"]}],"x-openai-isConsequential":true,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"domain":{"type":"string"},"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}}},"available_count":{"type":"number"},"more_url":{"type":"string"},"credits_charged":{"type":"number"},"credits_remaining":{"type":"number"}},"required":["domain","names","available_count","more_url","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","minLength":2,"maxLength":140,"description":"The taken or too-expensive domain, such as \"brightnest.com\""},"context":{"description":"What the name is for, so the alternatives fit. A sentence.","type":"string","maxLength":1000},"extension":{"description":"TLD to check, such as \".io\". Defaults to the extension of domain.","type":"string","minLength":2,"maxLength":25},"count":{"description":"How many available alternatives to return, up to 30. Default 10.","type":"integer","minimum":1,"maximum":30}},"required":["domain"]}}}}}},"/domains/aftermarket":{"post":{"operationId":"search_aftermarket","summary":"Search aftermarket listings","description":"Search Sedo and GoDaddy aftermarket listings for domains containing a keyword, with asking price and buy_url. Results are already-registered domains. max_price and max_length narrow them. No credits; needs a paid plan or trial.","tags":["Checks"],"security":[{"bearerAuth":[]},{"oauth2":["domains.check"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"extension":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"available":{"type":["boolean","null"]},"price":{"type":"number"},"currency":{"type":"string"},"quality":{"type":"number"},"register_url":{"type":"string"},"buy_url":{"type":"string"}},"required":["name","domain","extension","status","available"],"additionalProperties":{}}},"more_url":{"type":"string"},"credits_charged":{"type":"number"}},"required":["names","more_url","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keyword":{"type":"string","minLength":2,"maxLength":40,"description":"Word the listed domains should contain, such as \"nest\""},"extension":{"description":"TLD such as \".com\". Default .com.","type":"string","minLength":2,"maxLength":25},"max_price":{"description":"Highest asking price in USD","type":"integer","minimum":1,"maximum":9007199254740991},"max_length":{"description":"Longest name in characters","type":"integer","minimum":3,"maximum":30},"count":{"description":"How many listings to return, up to 50. Default 20.","type":"integer","minimum":1,"maximum":50}},"required":["keyword"]}}}}}},"/words/research":{"post":{"operationId":"keyword_research","summary":"Related words for naming","description":"Synonyms, related meanings, associations, rhymes, and sound-alikes for one word. The lists are unfiltered. No credits.","tags":["Checks"],"security":[{"bearerAuth":[]},{"oauth2":["names.generate"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"keyword":{"type":"string"},"synonyms":{"type":"array","items":{"type":"string"},"description":"Strict synonyms"},"related_meanings":{"type":"array","items":{"type":"string"},"description":"Looser words close in meaning"},"rhymes":{"type":"array","items":{"type":"string"}},"sounds_like":{"type":"array","items":{"type":"string"}},"associations":{"type":"array","items":{"type":"string"}},"credits_charged":{"type":"number"}},"required":["keyword","synonyms","related_meanings","rhymes","sounds_like","associations","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keyword":{"type":"string","minLength":2,"maxLength":40,"description":"One word to research, such as \"nest\""}},"required":["keyword"]}}}}}},"/trademarks/check":{"post":{"operationId":"check_trademarks","summary":"Screen names for trademark conflicts","description":"Screen up to 10 names against USPTO and EUIPO trademark records. Returns clear, caution, or risk per name with the closest marks. A first pass, not legal advice. No credits; needs a paid plan or trial.","tags":["Checks"],"security":[{"bearerAuth":[]},{"oauth2":["domains.check"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"verdict":{"type":"string","enum":["clear","caution","risk","unknown"]},"exact_match":{"type":"boolean"},"hits":{"type":"array","items":{"type":"object","properties":{"mark":{"type":"string"},"source":{"type":"string"},"status":{"type":["string","null"]}},"required":["mark","source","status"],"additionalProperties":{}}}},"required":["name","verdict","exact_match","hits"],"additionalProperties":{}}},"credits_charged":{"type":"number"}},"required":["results","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"names":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"description":"Names to screen, up to 10. A domain like brand.com is screened as \"brand\"."}},"required":["names"]}}}}}},"/lists":{"post":{"operationId":"save_name_list","summary":"Save or add to a name list","description":"Save names to an unlisted NameStation page and return its share link. list_id adds to an existing list instead of creating a new one. No credits.","tags":["Lists"],"security":[{"bearerAuth":[]},{"oauth2":["lists.write"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"list_id":{"type":"string"},"share_url":{"type":["string","null"]},"item_count":{"type":"number"},"added":{"type":"number"},"more_url":{"type":"string"},"credits_charged":{"type":"number"}},"required":["list_id","share_url","item_count","added","more_url","credits_charged"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"list_id":{"description":"Existing list to add to, instead of creating a new one","type":"string","maxLength":200},"title":{"type":"string","maxLength":200},"description":{"description":"The brief. Required when creating a new list.","type":"string","minLength":2,"maxLength":4000},"names":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80,"description":"The name, or a full domain like brand.com"},"extension":{"description":"TLD such as .com. Default .com.","type":"string","maxLength":25},"available":{"description":"Availability, when it was checked","type":"boolean"},"note":{"description":"Why this name fits","type":"string","maxLength":200}},"required":["name"]}},"source_url":{"description":"Optional URL stored with the list. When set, the share link is tagged for that site.","type":"string","maxLength":500},"platform":{"description":"Where the post is. Inferred from source_url when omitted.","type":"string","enum":["reddit","x","quora","linkedin","indiehackers","namepros","other"]},"campaign":{"description":"utm_campaign on the share link. A short slug such as repeat_naming_agencies. Default mcp.","type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]*$"},"content":{"description":"utm_content on the share link. A short slug such as agency_demo_01. Default is the client name for a public post, otherwise save_name_list.","type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]*$"}},"required":["names"]}}}}},"get":{"operationId":"list_name_lists","summary":"List saved name lists","description":"List the name lists saved on this NameStation account, newest first, with their list_id and share link. No credits.","tags":["Lists"],"security":[{"bearerAuth":[]},{"oauth2":["lists.write"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"list_id":{"type":"string"},"title":{"type":["string","null"]},"item_count":{"type":"number"},"share_url":{"type":["string","null"]},"updated_at":{"type":["string","null"]}},"required":["list_id","title","item_count","share_url","updated_at"],"additionalProperties":{}}}},"required":["lists"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"parameters":[{"name":"limit","in":"query","required":false,"description":"How many recent lists, up to 20. Default 10.","schema":{"type":"integer","minimum":1,"maximum":20}}]}},"/lists/{list_id}":{"get":{"operationId":"get_name_list","summary":"Read a name list","description":"Read the names on a saved list, with domain status, notes, and trademark verdicts. Accepts a list_id or the share URL. No credits.","tags":["Lists"],"security":[{"bearerAuth":[]},{"oauth2":["lists.write"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"list":{"type":"object","properties":{"list_id":{"type":"string"},"title":{"type":["string","null"]},"item_count":{"type":"number"},"share_url":{"type":["string","null"]},"updated_at":{"type":["string","null"]}},"required":["list_id","title","item_count","share_url","updated_at"],"additionalProperties":{}},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"status":{"type":"string","enum":["available","taken","for_sale","unchecked"]},"note":{"type":["string","null"]},"trademark_verdict":{"type":["string","null"]}},"required":["name","domain","status","note","trademark_verdict"],"additionalProperties":{}}}},"required":["list","items"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}},"parameters":[{"name":"list_id","in":"path","required":true,"description":"A list_id, or the list share URL","schema":{"type":"string","minLength":1,"maxLength":300}}]}},"/account":{"get":{"operationId":"get_account","summary":"Plan and credit balance","description":"Read the connected NameStation plan, credit balance, searches left (10 credits each), whether a trial is needed, and this connection's monthly cap. No credits.","tags":["Checks"],"security":[{"bearerAuth":[]},{"oauth2":["account.read"]}],"x-openai-isConsequential":false,"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object","properties":{"plan":{"type":["string","null"]},"organization":{"type":["string","null"]},"credit_balance":{"type":"number"},"credits_per_generation":{"type":"number"},"generations_left":{"type":"number"},"trial_required":{"type":"boolean"},"trial_url":{"type":["string","null"]},"connection_credits_used_this_month":{"type":"number"},"connection_monthly_cap":{"type":["number","null"]},"scopes":{"type":"array","items":{"type":"string"}}},"required":["plan","organization","credit_balance","credits_per_generation","generations_left","trial_required","trial_url","connection_credits_used_this_month","connection_monthly_cap","scopes"],"additionalProperties":{}},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"504":{"$ref":"#/components/responses/Problem"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A NameStation API key (ns_live_...) from Settings, Connected apps, or an OAuth access token."},"oauth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://www.namestation.com/oauth/authorize","tokenUrl":"https://api.namestation.com/oauth/token","refreshUrl":"https://api.namestation.com/oauth/token","scopes":{"names.generate":"Generate name ideas and find available domains, using your credits","domains.check":"Check domain availability and screen names for trademarks","lists.write":"Read your name lists and save names to them","account.read":"Read your plan and credit balance"}}}}},"schemas":{"Error":{"type":"object","properties":{"code":{"type":"string","description":"Such as invalid_input, trial.required, credits.insufficient, cap.exceeded, quota.daily"},"message":{"type":"string"},"trial_url":{"type":"string"}},"required":["code","message"]}},"responses":{"Problem":{"description":"The call did not succeed. error.message says why and what to do next.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"ok, error, trial_required, capped, forbidden, rate_limited, or timeout"},"credits_charged":{"type":"number"},"data":{"type":"object"},"error":{"$ref":"#/components/schemas/Error"}},"required":["ok","status","credits_charged"]}}}}}}}