Documentation

GET /api/domains

Domain suggestions or a quote for a named domain.

RequestGET /api/domains
AuthenticationSession cookie required
Handlerbackend/domain_market.py

What it does

With a query it quotes that domain; without one it suggests up to ten for the resolved product. `markup` is served rather than folded into the price, so the price the founder pays and the margin taken on it are separately visible.

Authentication

Session cookie required. Send the ff_session cookie. Without one the engine treats the caller as a new visitor with no holds and no claims, and returns a new cookie to use from then on.

Parameters

ParameterInTypeRequiredDescription
ff_sessioncookiestringOptionalThe session identifier. Omit it on the first call and store the value the response sets; every later call must send the same one or the engine treats the caller as a new visitor with no holds and no claims.
qquerystringOptionalA specific domain to quote. Omit for suggestions.

Request

The cookie jar carries the session between calls. Angle-bracketed values are the parameter types from the table above.

curl -s -b cookies.txt -c cookies.txt \
  "https://flowfinds.ai/api/domains"
const res = await fetch("https://flowfinds.ai/api/domains", {
  method: "GET",
  credentials: "include",
});
const data = await res.json();
import requests

s = requests.Session()
r = s.get("https://flowfinds.ai/api/domains")
data = r.json()

Recorded example

curl -s -b cookies.txt -c cookies.txt \
  "$FLOWFINDS_ORIGIN/api/domains?q=example.com"

Responses

200Quotes or suggestions were produced.

FieldTypeDescription
statusstring`ok`.
accountstringThe account the quotes are for.
product_idstringThe product the suggestions were derived from.
domainsarrayRows carrying the domain name and `price_eur`.
ownedarrayDomains this account already holds.
markupnumberThe multiplier applied over the registrar price — 1.5.

Errors

StatusReasonWhen
401The session has no account.

Related

Back to the API reference index, or read the cookbook for recipes that compose this endpoint with others.