MCP server and API
LotsBusiness for
your AI agent.
Keep your business details in one place and let your agent build its website on a lotssite.com address or your own domain, create and post to its Google Business Profile, work through the guide to local directories and set up email on its domain. The directory listing is free; agencies run their clients' businesses from one workspace.
Ask your agent, for example.
Once LotsBusiness is connected, plain requests like these work.
- “Build a website for my salon from our listing and send me the preview.”
- “Post this weekend's offer to our Google Business Profile.”
- “Which local directories should my plumbing business be on?”
Connect in two minutes.
Claude
Settings → Connectors → Add custom connector. Paste the URL, connect, and sign in with your Lots account.
ChatGPT
Plugins → + → Add custom MCP server. Name it, enter the URL under Connection, choose OAuth, tick I understand and want to continue, then Create as a plugin. Install it, sign in, and type @ in a new chat to pick it. Adding a custom connector with full read and write depends on your ChatGPT plan, and on some plans only admins can add one. Check OpenAI's current plan details.
Claude Code
claude mcp add --transport http lots-business https://api.lots.business/mcp
Codex
codex mcp add lots-business --url https://api.lots.business/mcp
Cursor, Windsurf and others
{
"mcpServers": {
"lots-business": {
"url": "https://api.lots.business/mcp"
}
}
}Cloud agents without MCP
Give the agent https://api.lots.business/docs.md and an API key from lotstech.com/api. It calls the REST API with Authorization: Bearer <key>.
Every server uses OAuth: your agent acts as you, inside your own roles and workspaces. You can change what it may do, or disconnect it, at any time in Connected apps.
94 tools, also REST endpoints.
Each tool is available over MCP and as a REST endpoint under https://api.lots.business/api/v1/lotsbusiness.
Accept Workspace Invitation
POST /workspace-invitations/accept
Accept a workspace invitation with the token from its link. You must be signed in with the invited email.
Add Site Blog
POST /businesses/:business_id/site/blog
Give the business's website a blog at /blog: a new LotsBlog blog made for the business (its name, logo, colour and facts carried over), or connect a LotsBlog blog the person already owns (blog_id). The blog shows at /blog, each post at /blog/<post>, with the blog's feed and sitemap, on the website's own domain and its lotssite address, wearing the website's header and footer; the website's sitemap lists it, and a Blog link is added to the header in the draft (live after the next publish; header_link: false skips it). Without confirm: true nothing changes: the answer shows the blog already connected (if any), the person's LotsBlog blogs and which can be connected, and LotsBlog's own price (plans, or credits per blog a month; LotsBusiness adds nothing). Tell the owner the price, and only with their yes call again with confirm: true. remove: true disconnects the blog from the website; the blog and its posts stay in LotsBlog. Posts are written with LotsBlog's tools (create_blog_post) as usual. Needs a paid business and an owner, admin or manager; connecting an existing blog needs its owner in LotsBlog.
Answer A Question
PATCH /questions/:id
Answer a question asked on a business you own. The answer becomes public.
Apply Google Business Profile Update
POST /businesses/:business_id/google/update/apply
Apply a change previewed with prepare_google_business_update to the live Google Business Profile, after the person agreed to that exact preview. Only the changed fields are sent to Google, with the values the preview showed (with from_business: the business's own website address, else its live LotsBusiness website, and the description cut to 750 characters at a whole word). If the profile changed on Google since the preview, nothing is sent and the answer asks for a fresh preview. fields applies only some of the previewed changes.
Approval Links
POST /tools/approval_links
Links a client opens with no account to approve the website draft or the business details, or ask for changes. One tool, one action per call (action): - list: Approval links for a business with each client's decision and comment. - create: Create a link the client can open without an account to review the website draft (scope site), the business details (profile) or both (all), and approve or ask for changes. The website preview is frozen when you ask: the section editor's draft as it is now, or the latest saved version for a site made of files (or the version you give). It also shows on the business's client page (client_link (action create)). Valid 14 days by default. Nothing is published by the client's answer. - revoke: Withdraw an approval link. Needs link_id.
Archive Business
POST /businesses/:business_id/archive
Archive a business you own instead of deleting it. It stops being paid (its website goes offline), leaves the directory and nobody can open it. Nothing is deleted, and the owner can restore it for 30 days with restore_business. Owner only. Confirm with the person first; confirm_name must be the business name.
Archive Workspace
POST /workspaces/:workspace_id/archive
Archive an agency workspace you own once it holds no active businesses (move or archive them first). Nobody can open it until it is restored. Nothing is deleted; the owner can restore it for 30 days with restore_workspace. confirm_name must be the workspace name. Confirm with the person first.
Autofill A Business From Its Website
POST /businesses/autofill
Read a business's own website and return the facts it states (name, description, phone, email, address, hours from schema.org), each with its source. Saves nothing: create_business or update_business with the values the owner confirms.
Build Site With AI
POST /businesses/:business_id/site/ai-build
Build the business's website with AI from its details and the owner's short interview answers (or, with instruction, make one change to the draft). To move an existing website to LotsBusiness, send from_website (their current address: a public website, http or https, no IP address, localhost or internal name) or report_id (their website report from website_reports (action get)): the builder reads the home page and up to 5 main pages and rebuilds the site in the section model with their own words, fixing what the report found; it is a rebuild, not a copy of the old design, and phone numbers and emails always come from the business record. get_build_status then shows from_site (the pages read) and, for a report, before_after (what the new draft does about each check). Designed inside the section model, checked automatically (phones, colours, facts from the record, nothing invented, no placeholder text, a working contact form), and saved as the draft with a private preview; the live site changes only when the owner publishes. Takes a few minutes: follow it with get_build_status. Each live business gets free AI builds and AI edits every month (3 builds and 20 edits on a plan, 1 build and 5 edits when paid with credits). A business that is not live yet builds its draft from LotsTech Credits only, the workspace owner's: in a team workspace only the workspace owner or an admin may approve that (allowance.credits.you_can_pay in get_build_status; anyone else gets FORBIDDEN 403). Its preview shows a Draft bar and each preview link works for 1 hour; the draft itself stays. It goes live with go_live. Beyond that, a build costs 200 LotsTech Credits and an AI edit 50 ($1 = 1,000 credits), charged once when it starts and refunded automatically if it fails without producing a draft: the call first answers CREDITS_CONFIRMATION_REQUIRED with the price and the balance; tell the owner both, and only with their yes call again with confirm_credits: true. Not enough credits answers INSUFFICIENT_CREDITS with a top-up link (create_checkout with amount_usd). Replacing an existing draft needs replace_draft: true; ask the owner first.
Business Directories
Local directories outside LotsBusiness where the business should be listed, and its progress on each. One tool, one action per call (action): - list: The audited local directories that fit this business (its country and trade), with how to submit to each and this business's progress. The owner or agency submits; give them the listing pack. - pack: Everything a directory asks for, worded the same way every time (name, phone, address or service area, website, categories, descriptions of 80/160/750 characters, hours, services, photos), built only from the record, plus what is missing. phone is written the way people in the business's country write it, for example (512) 555-0142; phone_international is the same number in international form (+15125550142) for forms that want it. website is the business's own website address, else its live LotsBusiness website. - record: Track progress on one directory: not_started, in_progress, needs_action, submitted, live (with listing_url), rejected or skipped, with notes. Marking it submitted or live keeps the details it went out with (name, phone, website, address), so check_same_details can say when they changed since; after updating the listing on the directory, record it again to keep the new details. Needs directory_id, status.
Business Email
Business email (LotsMail) on the business's own domain. One tool, one action per call (action): - status: Business email setup status: domain, ownership, funding, receiving and sending setup, and the records still needed. - setup: Set up business email (LotsMail) on the business's own domain, included with a paid business. Needs the website's own domain connected first. When we run the domain's DNS (connected with connect_existing_domain) we add every mail record, verify the domain, turn receiving on and create contact@ ourselves: nothing for the owner to add (managed: true). A connected domain that receives email elsewhere today stays sending only until you call this again with receiving: true. On any other domain it returns the TXT record that proves ownership, and the rest is finished in LotsMail. - verify: Check the ownership TXT record for the business's email domain after the owner adds it. On a domain whose DNS we run it also runs the next setup step now (records, verification, receiving).
Business Handover
POST /tools/business_handover
Hand a business (record, website, domains and linked apps) over to the client's own account, from preview to finish, and the client's side (get and accept with the token). One tool, one action per call (action): - preview: Before business_handover (action start): what moves to the client with the business and what stays, app by app (LotsMail domain, LotsSocial brand with its accounts, posts and media, LotsBlog blog, LotsCRM workspace, LotsInvoice business), with the reason when something stays and how to fix it. Changes nothing. Owners and admins. Needs business_id. - start: Start handing a business (record, website, domains) over to the client's own LotsBusiness account. Its linked apps go with it when the client accepts: the LotsMail domain, the LotsSocial brand, the LotsBlog blog, the LotsCRM workspace (only when no other business uses it) and the LotsInvoice business. Call business_handover (action preview) first and show the person what moves and what stays. Returns a link for the client and `moves`. The client signs in with that email, picks a workspace that pays for the business, and accepts. keep_agency_access (default true) keeps your agency as manager if the client agrees. Needs business_id, to_email. - list: Hand-overs of a business and their status. A completed one lists `moves`: what each linked app did (moved, stayed with the reason, or waiting; business_handover (action finish) moves what waits). Needs business_id. - cancel: Cancel a pending hand-over. Needs business_id, handover_id. - finish: After a hand-over: move the linked apps that had to wait, for example once the client added credits or a plan in that app, or disconnected a social account they already had. Changes nothing when nothing waits. The new owner (owner or admin) or the agency they kept (manager). Needs business_id. - get: For the client: what is being handed over (`moves`: each linked app and whether it moves), what they will pay for (`billing`) and the workspaces they can receive it into. Needs token. - accept: For the client: accept a hand-over into one of your workspaces (personal by default). The business and its linked apps move to you in one step; `moves` says what moved and what waits. Your own plan or credits pay for them from now on. Needs token.
Business Media
POST /tools/business_media
The business's photos, logo, cover and videos. One tool, one action per call (action): - list: List the business's photos, logo, cover and videos in display order. - add: Attach a photo or video URL to a business you own. Upload the file first; only the resulting URL is stored. Needs url. - delete: Remove one photo or video from the business. Needs media_id. - reorder: Set the display order of the business's media by listing their ids in order. Needs media_ids.
Business Team
POST /tools/business_team
The people who help with one business: list them, invite, cancel an invitation, change a role or remove someone. One tool, one action per call (action): - list: List the owner, team members, roles, and pending invitations for a business the caller can access. - invite: Invite a person to assist with a business as admin, manager, or viewer. Never assign ownership through this tool. Needs email, role. - cancel_invitation: Cancel a pending invitation. This does not remove an accepted member. Needs invitation_id. - update: Change a non-owner team member role or remove the member. Business ownership is handled only through the ownership/claim flow. Needs member_user_id.
Check Same Details
GET /businesses/:business_id/details-check
Same details everywhere: the business's name, phone, website and address (or town for a service area business) next to where else they show, so customers and Google see one business, not two. details: what the business says (phone_display is the phone as people in its country write it); the website every listing should use is the business's own website address, else its live LotsBusiness website. google: the linked Google Business Profile read from Google (name, address, phone, website, opening hours), state same, different (each difference with there and here), not_linked or unknown (with Google's reason). website: the phone links on the home page of the business's live LotsBusiness website itself (not a website it has elsewhere): same, different, not_live or unknown. directories: each directory marked submitted or live, against the details it went out with (business_directories (action record) keeps them); different means the business's details changed after it was sent, so update that listing; unknown for listings recorded before 4 Dec 2026 (record it again after checking). Phones are compared as numbers, read with the business's country. compared counts the places actually checked. summary is one sentence to pass on: "N places show different details." ("1 place shows different details."), "Your details are the same everywhere we can check.", "We could not check your details just now. Try again in a minute." (Google or the website did not answer and nothing was compared), or "There is nothing to compare yet. Link your Google profile, publish your website or mark a directory as sent, and we compare them here." Read only: to make Google match, use prepare_google_business_update with from_business: true, then apply it with the owner's yes. Anyone with access to the business can run it; the Google part is read only for an owner, admin or manager of a live business, and anyone else gets google unknown with the reason (the summary then does not ask to try again).
Claim A Business
POST /claims
Claim a business listing that has no owner yet. Verification is by matching email domain, a token on the business website, or manual review. The strongest method your evidence supports is chosen automatically.
Client Link
POST /tools/client_link
The client page link of a business: one standing link where the client answers with no account. One tool, one action per call (action): - get: The client page of this business: one standing link where the client sees what waits for their answer (LotsSocial posts of the linked brand that wait for approval, and website or business details checks from approval_links (action create)) and answers with no account. Returns the link's status, url (owners, admins and managers), expiry, the client's email for the daily email, whether the page shows your agency branding, and the latest answers. Anyone with access to the business. - create: Make the client page link of this business (one per business, works 90 days). Send the url to the client: with no account they approve or ask for changes on the LotsSocial posts of the linked brand (linked_apps (action link_social)) and on website or business details checks (approval_links (action create)), and can change an answer until you act. Approved posts go out on their schedule; website answers are recorded only, you publish. With client_email the client gets a daily email when something new waits. The page shows your agency's name and logo when your plan includes branding (set_agency_branding), else a neutral page. rotate: true replaces the current link (the old one stops working at once). Owners, admins and managers. - update: Change the client page link of this business: client_email (who gets the daily email when something new waits; an empty string removes it), client_name, or renew: true (works for 90 days from now). Owners, admins and managers. - revoke: Turn off the client page link of this business at once. Answers already given stay. client_link (action create) makes a new one. Owners, admins and managers.
Client Reports
POST /tools/client_reports
Client reports of a business in an agency workspace: the monthly report and reports on demand. One tool, one action per call (action): - list: The client reports of a business in an agency workspace: whether they are available (paid business, agency workspace, and LotsTech for Business or a LotsBusiness Pro or Business plan; why_not_text says what is missing), the monthly report settings (on or off, the client's email addresses, whether money amounts show), when this month's report is counted (the 1st) and sent (the 3rd), how many on-demand reports are left today, and the last 20 reports with their status, link and preview link. Anyone with access to the business; links only for owners, admins and managers. - settings: Set the client report for a business: enabled (the monthly report; on by default: on the 1st last month is counted and the agency gets a preview, and on the 3rd it goes to the client unless stopped), recipients (the client's email addresses, up to 5; without one nothing is emailed) and show_amounts (deal values and payments received; off by default). Only the fields you send change. Owners and admins of the business. - create: Make a client report now for any period: today, yesterday, last_7_days, last_week (Monday to Sunday), this_month, last_month, or custom with start_date and end_date (up to 366 days, ending today at the latest), in the business's time zone. It is compared with the period before of the same length (a whole month with the month before) and becomes a read-only page with the agency's name and logo; the link lasts 90 days and can be renewed. Website numbers are kept about 3 months and taps from when counting started, so older ranges say so instead of showing 0. send_to_client: true also emails it to the client's addresses at once (owners and admins). Up to 30 a business a day. Owners, admins and managers of the business. Needs period. - preview: One client report exactly as the client sees it (view), as plain text (text), with its status and, for the agency only, agency_notes about numbers that could not be read. report_id "upcoming" shows last month's monthly report while it has not gone out, else this month so far (counted now, not kept). Anyone with access to the business. Needs report_id. - update: Change one client report: note (the agency's note to the client, up to 1,000 characters; empty removes it; not after a monthly report was sent), stopped (true stops this month's monthly report so it is not sent; false sends it after all) or extend_link: true (the report's link lasts again from today: 90 days on demand, 400 days monthly). Owners, admins and managers of the business. Needs report_id. - send: Email one client report to the client's addresses now, instead of waiting for the 3rd (a monthly report that is counted and not stopped), or an on-demand report made without emailing. It goes from the agency's name with the agency's reply-to email. Only after the person confirms. Owners and admins of the business. Needs report_id.
Complete Site Upload
POST /sites/:site_id/uploads/complete
Finish a direct upload after the PUT to upload_url: checks the stored file's size, SHA-256 and type and the business's upload budget, then returns the blob to add to update_site_content as {path, blob}. A file that does not match is removed.
Connect Existing Domain
POST /businesses/:business_id/domains/connect
Manage a domain the person already owns elsewhere: we read its current DNS (every common name, mail, text and certificate records, and the zone file they paste, which public DNS cannot fully list) into a list to confirm. Nothing changes until they confirm with domain_records (action confirm). The domain stays at its registrar; once the nameservers switch to us, the website (and business email if asked) connect by themselves. Owners and admins.
Connect Google Business Profile
POST /google-business/oauth/start
Create a short-lived Google consent URL. Google shows its account chooser, so the owner picks which Google account to connect. Call this when Google is not connected; to switch to a different Google account, disconnect_google_business first. Return the URL to the owner and stop retrying until they finish consent. With business_id, Google returns them to that business's Google tab.
Contact Recipients
Extra addresses that get the website's contact messages. One tool, one action per call (action): - add: Send website messages to another address (up to 3). The address must confirm by a link first. Without any, messages go to the business email, or the workspace owner. - remove: Stop sending website messages to an address.
Create Business
Add a business you own. It starts as a private draft that is not live: build its website draft with build_site_with_ai (paid from LotsTech Credits while it is not live) and put it live with go_live, which shows the price first. Set business_type to physical, service_area or online; an online business stores no street address at all. Pass city_slug for a city from list_locations, or city (and state) as the owner says it when the list does not have it; a typed town is kept as written and counts as the city. category_slugs come from list_business_categories (up to 5; use other, "Other business", when nothing fits); unknown slugs are refused before anything is saved. The public LotsBusiness directory listing is off unless list_in_directory is true; then it goes up at once when it has a name, at least one category and a country (and a city for a storefront), otherwise it waits for review and listing_review names what is missing (name, category, country, city, test, links). An account can hold 2 businesses that are not live yet, restored ones included (NOT_LIVE_LIMIT 409, details.not_live names them): put one live with go_live or archive one first.
Create Checkout
POST /billing/checkout
Get a checkout link for a LotsBusiness plan (plan starter|pro|business, cycle annual|monthly; annual by default) or a LotsTech Credits top-up (amount_usd 10 to 1000). Only the workspace owner pays (anyone else gets FORBIDDEN 403). Give business_id (a business you own or administer) when the payment is to put that business live: the checkout comes back to that business in the dashboard, which puts it live. If the person comes back to you instead, call go_live once with after_payment: true, that business_id and the paid_with this answer returns ('plan' or 'credits'). A finished checkout page is not proof of payment: go_live or get_billing says what arrived. Give the link to the person; never pay for them.
Create Google Business Profile
POST /google-business/profiles
Create exactly the previously previewed Google profile. Requires the single-use confirmation token returned by preview after the owner explicitly approves that exact data. It is idempotent and must not be retried with a new preview after an uncertain result.
Create Site
POST /businesses/:business_id/site
Create the business's website on its LotsBusiness address (<name>.lotssite.com). Optionally start from a kit (from_kit) with a theme; then build it section by section with update_site_content (get_site_guide has the loop). Requires a paid business. Idempotent: returns the existing site.
Create Site Upload
POST /sites/:site_id/uploads
Start an upload of a big site file (an image up to 10 MB, a PDF or font up to 10 MB, a video in mp4 or webm up to 50 MB). Either give source_url (a public https link to the file: LotsBusiness fetches it and stores it, nothing passes through the chat; for chat agents that cannot send files) and get the blob back at once, or give its path, exact size in bytes and SHA-256 to get upload_url and headers: PUT the bytes there yourself, then call complete_site_upload. already_uploaded: true means the site holds those bytes; skip the PUT. Text files go in update_site_content as content.
Create Workspace
POST /workspaces
Create an agency workspace that holds client businesses and your team. You become its owner and pay for its businesses.
Deactivate Business
POST /businesses/:business_id/deactivate
Stop paying for a live business. It is not live any more: its website goes offline, and publishing, Google, business email, directories and the other paid tools stop until it goes live again with go_live. Its directory listing stays as the owner set it (on or off, see list_in_directory on update_business). It counts again toward the 2 businesses an account may have that are not live. Owners and admins only. Ask the owner before calling this.
Disconnect Google Business
POST /google-business/connection/disconnect
Disconnect your own Google account from LotsBusiness, for example to switch to a different Google account (then call start_google_business_oauth, which shows Google's account chooser). The connection is yours, not one business's: it serves every business you manage here, and posting pauses for each business whose profile posts through it until you connect again. LotsBusiness deletes its stored Google access; the profiles stay on Google and stay linked here. Without confirm: true nothing changes and the answer says what would happen. Ask the person first.
Domain Records
The DNS records of a domain connected for management (connect_existing_domain). One tool, one action per call (action): - list: Every DNS record of a connected domain in plain words, which product uses each one (those are protected), and the snapshots to roll back to. - confirm: After the person checked every imported record: copy them into our DNS (mail first), keep a snapshot to roll back to, and give the nameserver step. When the domain is in LotsTech's own registrar account we switch the nameservers ourselves; otherwise the person changes them at their registrar (two nameservers, shown in nameserver_step). Ask the person first. Owners and admins. Needs version. - edit: Add, change or remove DNS records of a connected domain (up to 50 at once; a snapshot is kept first). Records a product depends on (the website, business email) cannot be removed; an SPF can gain senders but keeps the ones a product needs. Changes reach the internet within minutes: confirm with the person first. Owners and admins. Needs changes. - restore: Roll a connected domain's DNS back to a snapshot (default: the records as imported). Records products depend on stay unless remove_product_links is true (that also disconnects the website and email from the domain). original_nameservers puts the old nameservers back (by API for LotsTech's own registrar account, otherwise it returns the step). Ask the person first. Owners and admins.
Found by AI
Found by AI: whether AI assistants name the business when asked for its service in its town. One tool, one action per call (action): - get: Found by AI: whether a business is named when someone asks AI for its service in its town, such as "What is the best renovation designer in Wellington?". Each check asks ChatGPT as a logged-out person sees it (8 questions: 6 the same every week, 2 that change weekly), and makes two Google searches from the business's location, reading the AI Overview (when Google shows one), the map results and Google AI Mode. Returns what is asked (business name, website domain, service and town; defaults from the business's category and city), the last 4 weeks in total (rolling: named in how many answers, per engine, and in how many map results), the latest check (the questions and searches, each engine's answers: named or not, its place in the list, the businesses named instead, whether the business's own website was cited; the map results; the date), the last 8 checks, the weekly check (on or off, next date, waiting while its answers come in) and how many "check now" runs are left this month, and next_steps: up to 5 plain steps from the latest check, its answers and the record (each with where: website, details, google or directories); act on them with the owner. Paid businesses only (why_not_text says what is missing). Anyone with access to the business. - settings: Change what Found by AI asks about a business: service (what it does, as a buyer would say it, such as "renovation designer"; empty goes back to the business's category) and town (such as "Wellington, New Zealand"; empty goes back to the business's city), and auto_weekly (the automatic check once a week; on by default once the business is set up). Only the fields you send change. Saving with the weekly check on starts it soon if no check ran in the last week. Owners, admins and managers of the business. - run: Check now whether AI names the business: ChatGPT (8 questions about its service in its town, as a logged-out person sees it), two Google searches from the business's location (the AI Overview and the map results) and Google AI Mode; the answers are read for the business's name and website (about a minute, at most about 3). Returns the result as ai_visibility (action get) does, with check set to this run. Up to 4 a month per business on top of the weekly check; a check that fails is not counted; one at a time. service and town, when given, are saved first (as ai_visibility (action settings)). Paid businesses only. Owners, admins and managers of the business.
Get Agency Branding
GET /workspaces/:workspace_id/branding
How an agency workspace appears to its clients: display name, logo, accent colour, reply-to email and website; eligible says whether client pages show them (the workspace owner has LotsTech for Business or a LotsBusiness Pro or Business plan), and client_pages is exactly what client pages show now. Any member of the workspace.
Get Billing
GET /billing
The workspace owner's LotsBusiness plan or credits, today's funding state, how many businesses are paid (live), and the plans (Starter 1, Pro 5, Business 25 businesses; yearly is the better price). summary says how many places the plan still has and what the next business costs on credits. To put a business live, use go_live: it shows that business's price and asks for confirm. Defaults to your personal workspace.
Get Build Status
GET /businesses/:business_id/site/ai-build
Where an AI website build is (designing, fixing what the checks found, ready), which checks passed, whether the AI design or the ready-made base design was used, the private preview link, the real cost of the build, its credits (charged, refunded), whether the business is live (a business that is not live builds from credits only), its free AI builds and edits left this month and, once they are used, the price of the next one in LotsTech Credits with the balance (allowance.credits; you_can_pay false means only the workspace owner or an admin can approve spending the owner's credits, and balance is then null), the interview questions for build_site_with_ai (the example main message and the order of languages follow the business's country), and for a website moved with from_website or report_id: from_site (the address and pages read) and before_after (each check of the report: before, after fixed, good, next_step or not_yet, and how); moved_from names the website the business was last moved from, also after later AI edits. Moves an unfinished build forward.
Get Business Analytics
GET /businesses/:id/analytics
Daily views, clicks, calls and direction requests for a business you own.
Get Business Completeness
GET /businesses/:business_id/completeness
What the record still needs for a good website, a Google Business Profile, directory listings and AI assistants (ai_assistants: a description of what and where, service descriptions and prices, 3 or more answered FAQs, areas served, real reviews, a linked Google profile, a published website). Ask the owner only for what is listed as missing; never invent it.
Get Domain Status
GET /businesses/:business_id/domains
Domains of a business: in connected_domains, the ones connected for management (imported records to confirm, the nameserver step, products connected), and in domains any registered through LotsBusiness earlier, with the date each is registered until. domain_id shows one connected domain.
Get Google Business Connection
GET /google-business/connection
Check whether Google is connected and list only the Google accounts and existing locations available to the signed-in owner. Use this before preparing a new profile and inspect likely duplicates. locations comes from the last read from Google (connection.locations_refreshed_at); pass refresh: true to read it again, for example after someone added your Google account as owner or manager of a profile.
Get Google Business Profile Status
GET /google-business/profiles/:business_id
Read the persisted creation state and Google Voice of Merchant status for an owner's business, and posting.through: whose Google account posts go through (you, teammate, or nobody when that person no longer has access to the business; then link the profile again with your own account). posting.disconnected is true when the Google account it was linked with was disconnected: connect Google again, or link the profile with your own account. profile.maps_uri is the profile's Google Maps link (null while Google has none yet); the owner manages the profile on Google itself at https://business.google.com/.
Get My Business
GET /businesses/:id
Get the full record of a business you own, including categories, service areas, media and its directory listing (off, on, in_review, held or rejected).
Get Site
GET /businesses/:business_id/site
The business's website: address, live and latest version, recent versions with check results, connected domains, kit and theme.
Get Site Analytics
GET /sites/:site_id/analytics
Page views by day, top pages and top referrers (cookieless) for up to 90 days.
Get Site Content
GET /sites/:site_id/content
The website as structured content: settings and design, pages, and the sections of each page with their fields, plus outline (each page, then its sections by name and type; custom sections list their editable fields). Returns the saved draft, or for a site without one the site converted to sections (saved: false; nothing changes until update_site_content). revision is what to send as base_revision. live_matches_draft says whether the live site shows this draft. restore_point is the last import or AI build that undo_edits goes back to.
Get Site Guide
GET /sites/guide
Read this before building or redesigning a website. Without topic: the build loop, live-fact markers (data-lb), what blocks publishing, the starter kits and limits, and the index of the premium website skill (a design process for a unique site per business: discovery, brief, art direction, motion, build, look and critique, quality gate). With topic: that part of the skill in full (start with "skill", then the reference it points to).
Get Workspace
GET /workspaces/:workspace_id
Get one workspace: members and roles, pending invitations (admins), and its businesses with whether each is paid.
Go Live
POST /billing/go-live
Put a business live. A new business is a private draft until then: its website draft comes from build_site_with_ai and its preview shows a Draft bar. Going live makes it a paid business and unlocks publishing its website (on a free yourname.lotssite.com address or a domain the owner already owns), its Google Business Profile, business email, directories and website messages. It does not publish the website by itself: publish_site_content does that, with the owner's yes. Without confirm, answers the price screen: how (plan: a free place on the plan; credits: LotsTech Credits each month; pay: a plan or more credits is needed first, create_checkout with business_id), can_go_live, free_month (the new account's free credits pay about the first month), payer_is_you, summary and message. Tell the owner the price and only with their yes call again with confirm: true. Only the business owner or an admin may put it live: for a manager or viewer the answer has may_go_live: false and no price, and confirm answers FORBIDDEN 403. After a checkout, call once with after_payment: true, business_id and paid_with ('plan' after a plan checkout, 'credits' after a credits top-up). A plan puts live every business that is not live when it has room for all of them; otherwise the business the payment started from goes live and to_choose lists the others the owner can pick (then business_id with confirm: true). Only paid_with: 'credits' puts the business live on credits, so a plan whose payment has not arrived yet is never charged in credits. When nothing went live yet, the payment can take a minute to arrive: call again. Prefer go_live over go_live, which has no price step.
Google Business Posts
Posts on the business's Google Business Profile. One tool, one action per call (action): - list: The latest posts on the business's Google Business Profile, with Google's state (LIVE, PROCESSING, REJECTED). - create: Post an update to the business's Google Business Profile: STANDARD (news, with an image or a button), EVENT (title and dates) or OFFER (title, dates, coupon, terms). One public https image. Buttons: BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP (with url) or CALL. Ask the owner to approve the text first. Google reviews posts; a rejected post is reported as an error. Needs summary. - delete: Delete a post from the business's Google Business Profile. name is the post's resource name from google_business_posts (action list). Ask the owner first. Needs name.
Google Business Verification
Verifying the business's Google Business Profile with Google. One tool, one action per call (action): - options: Ask Google which verification methods are currently eligible. For a service-area business, pass its private verification address only when the owner explicitly supplies it; it is used for Google verification and is never copied to the public LotsBusiness listing. - start: Start one of the verification methods returned by Google. Do not choose a delivery destination or method that Google did not return. Needs method. - complete: Submit a verification PIN the owner received for a pending Google verification. Never guess a PIN. Needs verification_name, pin.
Grant Support Access
POST /businesses/:business_id/support-access
Let LotsTech support (support@lotstech.com) into one business for a limited time so they can look at a problem and fix it. Support joins as Admin and can never change billing, payments, the owner or the team. Without confirmed: true it changes nothing and returns the consent text; grant only after the person has read it and said yes. duration is 24h, 7d (default) or 30d. may_publish (default false) lets support publish fixes live. Granting again while access is on changes the end time. It opens a support case for the person.
Import Static Site
POST /sites/:site_id/import
Turn a static website (plain HTML pages, one site.css, one site.js, its files) into this website's DRAFT made of custom sections, so it looks the same and stays editable section by section. Pages follow the static contract: header elements marked data-lb-shared="header", footer elements data-lb-shared="footer", every section a top-level element with data-section-name="Hero"; facts marked with data-lb (phone, whatsapp, email, address parts). Send the text files in files ([{path, content}] or [{path, source_url}] to have LotsBusiness fetch the file exactly from a public https address: .html, .css, .js, .svg, .json, .webmanifest, .txt, .xml) and every other file (pictures, fonts, videos, PDF) in blobs ([{path, blob}] uploaded first with upload_site_image or create_site_upload, or [{path, source_url}] fetched for you, up to 100 a call). Texts, pictures, links and repeating cards are marked editable on the way in (mark_fields: false keeps the markup untouched). Nothing goes live: check it with preview_site_content and publish with publish_site_content. A local helper does all of this from a folder: scripts/lotsbusiness-import-static.mjs.
Leave Workspace
POST /workspaces/:workspace_id/leave
Leave a workspace you are a member of. Owners cannot leave their own workspace.
Link Google Business Location
POST /businesses/:business_id/google/link
Link a Google Business Profile that already exists to this business, instead of creating a new one. Your connected Google account must be an owner or manager of the profile on Google; LotsBusiness checks this live with Google. Linking the business's current profile again with your own Google account (for example after an agency hand-over, once the agency has made you primary owner on Google) switches its posts and updates to your account; only the owner or an admin can do that. location_name comes from get_google_business_connection_status.
Linked Apps
The other LotsTech apps linked to this business, so the client's records stay together. One tool, one action per call (action): - get: Every app linked to this business, in one answer: the LotsCRM workspace that receives website messages, the LotsMail email domain, the LotsBlog blog at /blog, the Google Business Profile, the LotsSocial brand and the LotsInvoice business. found: false marks a link whose record was removed or archived. include_options: true also lists the LotsSocial brands and LotsInvoice businesses you can link, and suggests a LotsSocial brand with the business's name for a client business in an agency workspace; nothing is linked until the person confirms. Anyone with access to the business. - link_crm: Send this business's website messages into a LotsCRM workspace as well as by email: each sender becomes a lead contact (or is matched by email or phone) with the message on their timeline. Give workspace_id to link (you need write access to that LotsCRM workspace; messages are written as you), or unlink: true to stop. - link_social: Link this business to its LotsSocial brand, so the client's records in both apps stay together (the client approval page and the monthly report will read this link). Give brand_id (LotsSocial list_brands; you must be an owner, admin or manager of the brand's workspace), or unlink: true to remove the link (the brand itself does not change). One brand per business: linking another replaces it. Owners and admins of the business. - link_invoice: Link this business to its LotsInvoice business, so the client's records in both apps stay together (the monthly report will read this link). Give invoice_business_id (the id of the business in LotsInvoice; you must be its owner or an editor), or unlink: true to remove the link (nothing changes in LotsInvoice). One per business: linking another replaces it. Owners and admins of the business.
List Business Categories
GET /public/categories
List every business category, with parent/child structure and how many businesses each holds. Pass slugs as category_slugs to create_business and update_business. Home Services includes US trades: roofing, hvac, handyman, locksmiths, garage-doors, tree-services, flooring, concrete-masonry, fencing, pool-services, junk-removal, pressure-washing and window-cleaning; Automotive includes towing; when nothing fits, use other ("Other business", in the Other group).
List Business Reviews
GET /public/businesses/:slug/reviews
List published reviews for a business, with the owner reply where one exists. Only reviews that passed moderation are returned.
List Contact Messages
GET /businesses/:business_id/contact-messages
Messages sent through the website's contact form, newest first (spam hidden unless status=spam). Needs a live business: one that is not live gets BUSINESS_NOT_ACTIVE, like the locked Messages tab in the dashboard.
List Locations
GET /public/locations
List countries, states or cities in the directory. Filter by type and country code (IN, US).
List My Businesses
GET /me/businesses
List every business you own, with status, claim state, completeness score, whether it is indexable, whether it is live (live), its directory listing (off, on, in_review, held or rejected) and setup, what it has so far: website (live, draft, offline when published but not online, none or unknown, plus elsewhere: the domain of a website it has on another host), google (linked, none or unknown), email (lotsmail, lotsmail_pending, own_domain, free_address, none or unknown; only the domain, never the address) and directories (done of total relevant ones; unknown: true when they could not be read). unknown means it could not be read just now, never that it is missing. With archived: true, lists archived businesses instead, with restore_until and restorable (false after 30 days; restore_business then answers RESTORE_EXPIRED).
List My Claims
GET /me/claims
List the claims you have submitted and their current state.
List Notifications
GET /me/notifications
List your LotsBusiness notifications: claim outcomes, questions and order updates.
List Site Section Types
GET /site-section-types
The section kinds a LotsBusiness website is built from (top banner, about, services, photos, numbers, reviews, questions, contact, hours, map, call to action, team, prices or menu, text, custom markup), their variants and fields, the live facts a field can show, and the limits. Read it before writing site content. Includes the custom section (any design: its own markup with marked fields, CSS and script) and the edit ops.
List Support Access
GET /businesses/:business_id/support-access
Whether LotsTech support has access to this business, until when, and what support did there. available false means support access is not set up yet.
List Support Requests
List the support requests the signed-in person has sent to the team that builds this product: number, type, title, status (In progress, Waiting for you, Done), last update, the team's latest reply and a link when one is available. Open requests by default; status all includes finished ones. Pass case_number (for example 1042) to see one request. Use it when the person asks about a problem they reported or whether the team has answered.
List Workspaces
GET /workspaces
List the LotsBusiness workspaces you belong to, with your role, how many businesses each holds and how many are paid. Every account has a personal workspace; agencies create more for their team.
Move Business To Workspace
POST /businesses/:business_id/move
Move a business between two workspaces you administer that have the same owner. To give a business to a client, use business_handover (action start).
Post Business Update
POST /businesses/:id/updates
Post a short update or announcement on a business you own.
Preview Google Business Profile
POST /google-business/preview
Build an immutable, evidence-labelled preview without writing to Google. Only owner listing facts and explicit owner confirmations are accepted. Online-only businesses are rejected. Show the exact preview before asking for confirmation. Listing lat/lng of 0 is not a map pin. If Google cannot geocode a physical address, the preview returns pin_drop_required; parse an owner Maps URL or confirmed pin into latitude and longitude and retry with duplicate_acknowledged=true. If public duplicate search is unavailable, check Google Maps and retry with duplicate_acknowledged=true. Create only with the returned preview_id and confirmation_token within 30 minutes.
Preview Google Business Profile Update
POST /businesses/:business_id/google/update/preview
Preview a change to the Google Business Profile linked to this business: what Google shows now next to what it would become, field by field. Changes nothing. Fields: title, address, map pin (latitude and longitude), categories, regular and special hours, website, phone, service area, description; give only the ones to change, or from_business: true to propose the LotsBusiness listing's own details (name, address, phone, website, hours, description; never the pin). With from_business, the website is the business's own website address, else its live LotsBusiness website (the same rule as check_same_details and business_directories (action pack)), and its description is cut to Google's 750 characters at the last whole word; fields given in the call win. Google checks the change first (validate only); if Google does not let LotsBusiness move the pin of this profile, the answer is GOOGLE_PIN_NOT_ACCEPTED and the pin must be moved on Google itself. warnings says when Google may review a name, address, pin or category change or ask to verify again. Show the person the changes and warnings, then call apply_google_business_update with preview_id and confirmation_token once they agree. The preview lasts 30 minutes.
Preview Site Content
POST /sites/:site_id/content/preview
Render the website draft (or the site converted to sections when there is no draft) to a private preview link with the live facts filled in, valid for 7 days (1 hour while the business is not live) and never indexed, plus the page check. Publishes nothing and creates no version. include_html also returns the rendered files.
Publish Site Content
POST /sites/:site_id/content/publish
Publish the saved website draft: render it to plain HTML pages, save them as a new version and make it live within a minute. Refused if the page check finds errors. site_versions (action rollback) returns to any earlier version. Ask the owner first.
Reply To A Review
POST /reviews/:id/reply
Reply publicly to a review left on a business you own. One reply per review; calling again updates it.
Request Domain Transfer
POST /domains/:order_id/transfer
Ask to move a domain registered through LotsBusiness (listed in get_domain_status domains) to another provider. Records the request; our team emails the owner the transfer code and steps (registries allow a move 60 days after registration). Business owner only.
Restore Business
POST /businesses/:business_id/restore
Restore an archived business within 30 days of archiving it; after that it answers RESTORE_EXPIRED 410 (list_my_businesses with archived: true shows restore_until and restorable). Owner only; restore its workspace first when that is archived too. It comes back not live, with its directory listing as it was before. It counts toward the 2 businesses an account may have that are not live (NOT_LIVE_LIMIT 409: put one live with go_live or archive one first). Put it live again with go_live for its website and paid tools.
Restore Workspace
POST /workspaces/:workspace_id/restore
Restore an archived workspace within 30 days of archiving it. Owner only. list_workspaces with archived: true lists archived workspaces and how long each can be restored.
Revoke Support Access
DELETE /businesses/:business_id/support-access
End LotsTech support's access to this business now. Support leaves the team at once.
Screenshot Site
POST /sites/:site_id/screenshot
See the website the way visitors do: renders the draft (default when there is one), a saved version or the live site in a real browser at desktop (1440 px), tablet (820 px) and phone (390 px) widths and returns the pictures. full_page scrolls the whole page and returns it in screen-sized pieces; section shows one section. Use it after every build or change, compare the pictures with your design brief, fix and look again. Owners, admins and managers only; limited per business per hour; the same picture is reused for 5 minutes.
Search Google Business Categories
GET /google-business/categories
Search Google's live category catalog. Never invent a category ID; show the returned exact categories and ask the owner when more than one is plausible.
Set Agency Branding
PUT /workspaces/:workspace_id/branding
Set how your agency appears to clients on the pages you share with them (the client approval page and the monthly report, as they are released), with no Lots names: display_name, accent_color, reply_to_email (where client replies go), website, and a logo (logo_base64) or remove_logo: true. Only the fields you send change; an empty string clears one. Anyone can save branding, but client pages show it only while the workspace owner has LotsTech for Business or a LotsBusiness Pro or Business plan; until then they show a neutral page with no agency name or logo. Owners and admins of the workspace.
Set Business FAQs
PUT /businesses/:id/faqs
Replace the FAQ list on a business you own. Pass the complete list: it overwrites what is there.
Set Business Services
PUT /businesses/:business_id/services
Replace the business's list of services, in display order, with optional prices (price, optional price_max for a range, currency, price_note like 'from') and durations. Only real services and prices the owner confirmed.
Site Domains
Domains the owner already owns, connected to the website. One tool, one action per call (action): - status: Status of the site's domains and their certificates, with the DNS record each needs. The first domain to go active becomes the primary address. - connect: Connect a domain the owner already owns (e.g. www.example.com). Returns the one DNS record they add. Then poll site_domains (action status). Owners and admins; paid businesses only. Needs hostname. - set_primary: Choose which active domain is the main address (the others redirect to it). hostname null returns to the LotsBusiness address. - remove: Disconnect a domain from the site. Needs hostname.
Site Versions
The website's saved versions. One tool, one action per call (action): - list: Version history with source, message, check summary and which one is live. - rollback: Make an earlier version live again. Needs version. - export: Download a version (live by default) as a zip. Returns a link valid for one hour.
Submit Support Request
Send a bug report, feature request, feedback or support question to the team that builds this product. It sends exactly the title and details given. Passwords, API keys, tokens and other people's personal data do not belong in a request. Useful details: what was tried, what happened and what was expected; for a failed tool, tool_name, error_message and request_id. The request is filed under the email the person signed in with, and the team replies to that email. Returns the request number, its status, when to expect a reply and a link when one is available. The same error from the same tool within 24 hours is added to the person's open request instead of opening a new one.
Unpublish Site
POST /sites/:site_id/unpublish
Take the website offline without deleting anything. Owners and admins only; ask first.
Update Business
Update the business record: name, type, contact details, address (physical only), city, categories, descriptions, time zone ("auto" takes it from the address), logo and cover. Pass city_slug for a city from list_locations, or city (and state) as the owner says it when the list does not have it. list_in_directory true or false switches the public directory listing on or off (owners and admins); a listing our team holds cannot be switched off and a rejected one cannot be switched on (LISTING_HELD 409). Everything that can be refused (unknown categories or more than 5, the directory switch) is checked before saving, so a refused update saves nothing. If the directory switch fails after the save, the error says the details were saved but the listing was not switched, with details.saved: true and details.listing_switched: false. Hours (hours, special_hours, timezone) and links (social_links, booking_url, website_url) are saved here too; services go in set_business_services and FAQs in set_business_faqs.
Update Contact Message
PATCH /businesses/:business_id/contact-messages/:message_id
Mark a contact message read, archived, spam or new. Needs a live business (BUSINESS_NOT_ACTIVE otherwise).
Update Site Content
PUT /sites/:site_id/content
Save the website draft. Send the whole content (as get_site_content returns it), or changes (a list of edits: update_section, replace_section, add_section, remove_section, move_section, set_field, add_list_item, remove_list_item, move_list_item, update_page, add_page, remove_page, move_page, update_settings; a section by its id or its name, "page/name" when two pages share one), or from_version to restore what a version published from sections showed, or discard: true to go back to what the live site shows, or undo_edits: true to undo every edit since the last import or AI build (the new site stays). Custom sections (type custom: name, html, css, js) hold any design; edit their marked fields with set_field ("title", "programs.1.title") and their lists with the list ops. Only the draft changes: the live site changes on publish_site_content. Phone, email, address, hours, services, photos, questions and reviews always come from the business record: bind text to a fact with {"bind":"phone"} (data-lb="phone" in custom markup) instead of typing it. Never invent reviews, numbers, awards or prices. The answer is small: the new revision, what changed (sections, pages, settings), the page check and live_matches_draft. The draft and its outline are left out unless you send include_content: true (get_site_content returns them any time).
Update Site Settings
PATCH /sites/:site_id
Change the site's settings without touching files: whatsapp_button, call_bar, verification (google, bing, yandex, pinterest, facebook codes), verification_file, analytics (ga4, gtm, meta_pixel, clarity), consent_banner, default_description, share_image, favicon, redirects, announcement, open_badge, map, badge. Also indexable and subdomain. Applies to the live site within a minute.
Update Workspace
PATCH /workspaces/:workspace_id
Rename a workspace. Owners and admins only.
Upload Site Image
POST /sites/:site_id/images
Upload an image for the site from an https image_url (up to 10 MB) or image_base64 (up to 5 MB) (PNG, JPEG, WebP, GIF, AVIF, ICO, SVG; under 300 KB is best). Returns a blob to include in update_site_content. Bigger files, videos (mp4, webm up to 50 MB), PDFs and fonts: create_site_upload.
Verify A Claim
POST /claims/:id/verify
Check whether the verification token is now present on the business website and complete the claim if it is.
Website Reports
The free report on a website the owner already has. One tool, one action per call (action): - run: A free report on a website the owner already has: can Google find and show it, do ChatGPT and Google AI name the business when asked for its service in its town, does it show on Google Maps, email at its own domain, one clear phone number and town, and a contact form or booking button. Each check says what is wrong in plain words and how to fix it, and next lists only what LotsBusiness can fix for those issues (nothing when all is fine). url must be a public website address (http or https; no IP address, localhost or internal name). Give service and town (like plumber, Austin, TX) to include the AI and Google Maps checks; with business_id the town defaults to the business's. A report takes up to 3 minutes. status is running, done or failed: running (the check is still going, for example after the call was cut off) and failed come with a message to pass on; for running, ask again a minute later with website_reports (action get). A failed or timed-out check is not counted. Limits: 2 new reports per account every 30 days (REPORT_LIMIT 429, details.limits.next_free_at is when the next free one is possible) and a daily limit across all accounts for the AI checks (REPORT_BUDGET 429, details.retry_after; the owner's free reports are not used). The same website within 7 days returns its saved report, or the check still running, whatever service and town are sent, and is not counted. Every answer carries limits. Reports are shown for 7 days and deleted after 31. Never promise the owner a ranking. Needs url. - get: One website report, from website_reports (action run) or website_reports (action list). status running (still checking: ask again in a minute), done (the checks) or failed (with error and a message to pass on; a failed or timed-out check is not counted, so website_reports (action run) again). Reports are shown for 7 days (NOT_FOUND after that) and deleted after 31. Needs report_id. - list: The owner's website reports from the last 7 days, newest first, one per website (its newest finished report, else the check still running), with limits: per_account and window_days (2 every 30 days), used and left (what was really used), staff (true when the limit does not stop this account), next_free_at (once none are left: when the next free report is possible) and keep_days.
Workspace Members
POST /tools/workspace_members
Teammates of a workspace: invite, cancel an invitation, change a role or remove someone. get_workspace lists them. One tool, one action per call (action): - invite: Invite a teammate to a workspace as admin (manages team and billing), manager (edits every business) or viewer (reads). Returns an accept link valid for 7 days. To give a client access to one business only, use business_team (action invite) instead. Needs email, role. - cancel_invitation: Cancel a pending workspace invitation. Needs invitation_id. - update: Change a workspace member's role or remove them. The owner cannot be changed. Owners and admins only. Needs member_user_id.
Questions, answered.
What is the LotsBusiness MCP connector URL?
https://api.lots.business/mcp. Add it as a custom connector (remote MCP server) in your AI agent and sign in with your Lots account.
Which agents work with LotsBusiness?
Claude, ChatGPT (from Plugins), Claude Code, Codex, Cursor, Windsurf and any other client that supports remote MCP with OAuth. Adding a custom connector with full read and write depends on your ChatGPT plan, and on some plans only admins can add one. Check OpenAI's current plan details. Agents without MCP use the REST API with an API key.
Where are the LotsBusiness API docs?
https://api.lots.business/docs.md: Markdown written so an AI agent can read it. Requests go to https://api.lots.business/api/v1/lotsbusiness with Authorization: Bearer <your key>.
How do I get a LotsBusiness API key?
Use Generate key on this page or at lotstech.com/api. Sign in with your LotsTech account, name the key and copy it once. You can revoke it there at any time.
Does MCP or API access cost extra?
No. It is included with LotsBusiness. You pay only for LotsBusiness's own plan or usage, and your AI provider bills its own usage.