API16 Nov 2026By Brandmity 11 min read

Trademark API for AI Agents: Check a Name From Code

How a developer or AI agent calls the Brandmity clearance API, reads the risk, live conflict and match fields, and knows when to stop and ask a person.

A developer terminal beside a notebook with a list of candidate brand names
Photo by RDNE Stock project via Pexels

Why an agent needs a name check that returns data

More and more naming work happens inside software. A brand-generation pipeline proposes forty candidates, a launch agent drafts a product page, or a developer wires a name check into a sign-up flow. Each of these can ask whether a name conflicts with an existing trademark, but a model asked from memory will give a confident answer that no register has checked. The useful version is a call that returns the records it found, the classes it screened and a risk label that a program can act on.

That is the job the Brandmity clearance API does. It is the same knockout screen that powers the free search on the website, exposed as a REST endpoint and as a hosted MCP server. This guide is for developers and for people building agents that name things. It shows the request, the fields that come back, three real responses, and the points where an agent should stop and hand the decision to a person.

The endpoint and its parameters

The search endpoint is a single GET request: a base path of /api/v1/search with the candidate name in q. Use the name as a customer would type it, because the screen matches on the wording. You can narrow the search with classes, a comma-separated list of Nice class numbers from 1 to 45. Numbers outside that range are ignored. The response includes suggested_classes, the classes the screen proposes, so you can repeat the call with a tighter list.

Two more parameters are worth using. The description field takes a sentence about what the business does and is used to suggest filing classes, which helps an agent that knows the product but not the classes. The limit field caps how many matches come back, up to 100. The endpoint also accepts a POST with a JSON body carrying the same fields, which suits agents that build requests as objects.

  • GET /api/v1/search?q=Nike&classes=9,36 for a quick check from a terminal or a browser.
  • POST /api/v1/search with a JSON body containing q, classes, description and limit for programmatic use.
  • Anonymous calls are allowed on a daily limit. An Authorization bearer key lifts the limit to your plan.
  • An invalid key is refused with a 401 rather than quietly treated as anonymous, so a broken integration fails loudly.
  • Over the limit you get a 429 with a Retry-After header and a link to the pricing page.

Three real responses, read in order

Abstract field lists are easy to misread, so here are three calls we made to the live endpoint on 16 November 2026, each screened against classes 9 and 36. The names were chosen to show the three outcomes the API produces. Each response screened 50 records. The table gives the risk label, the number of live conflicts among those records and the closest live match.

  • Nike is a textbook high result. The register holds an identical mark in an overlapping class, so the headline says a live mark closely matches your name.
  • Stripe is high for a different reason. Thirty-one of the 50 screened records were live and close, and the top match, STRIPE in class 9, has a Section 71 declaration accepted. A count that high tells you the word is crowded in these classes, which a single match would not.
  • Lumora Kiln is the most instructive. The name is not blocked outright, but one pending application in class 8 is live and similar enough to weigh. The second match in the same response, LUMORA STONE in class 27, is abandoned and does not count as live. The API marks each match with a live flag so a program can separate the two.
Live responses from /api/v1/search, classes 9 and 36, 16 November 2026
QueryRiskLive conflicts (of 50 screened)Closest live match
Nikehigh24NIKE, Nike, Inc., REGISTERED AND RENEWED, class 9, similarity 100, registration 2239077
Stripehigh31STRIPE, INFICON HOLDING AG, SECTION 71 ACCEPTED, class 9, similarity 100, registration 4665406
Lumora Kilncaution1LUMORA KITCHEN, Velora Brands LLC, NEW APPLICATION (pending), class 8, similarity 66

Read the fields in the right order

An agent should not act on the headline alone. The reliable order is to check that the call was configured, then read the risk, then count the live conflicts, then look at the matches that are live and close. A response can come back with configured set to false and a note explaining that live search is not set up on the deployment. That is not a clear result. It means nothing was screened, and an agent that treats it as clear will make a decision on no evidence.

The main fields are straightforward. risk takes the values clear, caution or high, and unknown appears when the screen returns no label. live_conflicts counts the live records that are close. Each entry in matches carries the mark, the owner, the status as the register gives it, a status_bucket such as registered or pending, the classes, a similarity score, the live flag and, where the register supplies them, the serial and registration numbers. The source field says where the records came from, and the disclaimer is returned on every response and should be shown to any human who reads the output.

  • Check configured first. If it is false, do not read the rest as a result.
  • Treat high as a stop. Choose another name, or hand the candidate to a person with the response attached.
  • Treat caution as a question for a human. Read the live matches, look at their classes and goods, and decide whether the name is worth the cost of a full search.
  • Treat clear as a screen passed, not a clearance. It means no close live record was found in the screened classes.
  • Log the query, the classes and the time with the response, so the check can be repeated and explained later.

The MCP server: the same screen for an agent

The MCP server gives an agent the same screen as tools rather than as a URL to fetch. It is a streamable HTTP server at /api/mcp, which the Model Context Protocol specification describes as one of its two standard transports. An agent client that supports remote MCP servers connects to that address and then sees two tools. trademark_search takes a query and optional classes and returns the same screen the REST endpoint does. check_name_availability takes a proposed name and an optional description, and is aimed at the common case where the agent knows what the business does but not which classes apply.

Choose MCP when the agent is already reasoning with tools and you want the check to sit inside its loop. Choose the REST endpoint when the check belongs in ordinary code, a form or a batch job. Both return the same fields, so the handling in the section above applies to either.

What the API does not tell an agent

The API is a knockout screen. It compares the candidate name with records on the register and scores closeness, which is useful for ruling names out early. It does not search unregistered use in a market, state registers or foreign offices, and it does not run a phonetic or design comparison beyond what the screen reports. The response says so in its own reasons, which is one reason an agent should pass the reasons field on rather than only the headline.

Classes are the other limit. Nice has 45 classes, 34 for goods and 11 for services, and marks in different classes can still conflict when the goods or services are related. An agent that files for the wrong classes can get a clear result that does not cover its business. The suggested_classes field and the description parameter help, but a person who knows the product should confirm the list before any filing decision.

A short checklist for building it

A name check is only as good as the way the calling program handles the answer. Keep the call simple, keep the decision with a person when the risk is not clear, and record enough that the result can be explained later.

  • Send the candidate name and, where you know it, the classes and a one-sentence description.
  • Check the configured flag, then the risk, then the live conflicts, then the live matches.
  • Stop on high. Route caution to a person with the matches attached. Pass clear on as a screen only.
  • Store the query, the classes, the response and the time, and show the disclaimer wherever the result is displayed.
  • Do not present a clear result as legal advice, a guarantee of registration or a substitute for an attorney review before filing.

Make the decision record useful

A guide earns its keep when a reader can use it at the moment a real launch decision needs to be made. For trademark API, make a small decision record while the evidence is in front of you. Record the candidate mark or service, date, market, exact query or comparison criteria, direct links, and a one-sentence conclusion. This takes a few minutes and prevents a familiar problem: months later, someone remembers that a search or comparison happened but nobody can explain what it covered. The record should be factual enough for a colleague, adviser or future buyer of the business to follow without guessing at the context.

Use Model Context Protocol: transports specification (2025-11-25) as a primary reference, then distinguish evidence from interpretation. A record can show a filing date, owner, listed goods or service scope, or current published rule. Your note can explain why that matters to the launch. Keeping those two parts separate stops a team from turning a preliminary search result into a legal conclusion. It also makes updates easier: if the underlying record changes, you know precisely what needs a fresh look.

Run a second-pass check before money moves

The second pass is where a good early decision becomes a robust one. Read the exact product page, campaign brief, packaging proof or filing draft that will carry the name. Check that spelling, owner, goods and services, territory and timing tell the same story. A small mismatch is often harmless if found early, but it becomes expensive once labels, advertising, domain redirects and marketplace listings have all repeated it. Give the final review a named owner and a date rather than leaving it as an item that everyone assumes someone else completed.

Consider a realistic launch meeting: product wants to announce on Monday, marketing has bought creative, and operations has already opened the store listing. The useful question is not 'can we be perfectly certain?' It is 'what evidence supports this risk level, what remains unknown, and who can decide whether that uncertainty is acceptable?' That framing produces a calmer, more accountable conversation than a binary green-light request. It also gives the team a clear reason to pause if a close record or unclear requirement appears.

Know when to bring in a specialist

Do not use a general article, tool output or service comparison to self-solve a fact pattern that has become specific. A close live mark in related goods, an office action, an opposition, a foreign filing, a disputed owner or a large commercial commitment are sensible triggers for a qualified trademark attorney. Bring the decision record, underlying links and a concise description of the actual offering. That keeps paid advice focused on the issue that needs judgement instead of redoing basic discovery.

Finally, make the process repeatable. Put trademark API in the launch checklist for every new product, collection, country or brand variant. Review the outcome after the first cycle: were alerts useful, did the class choice fit the product, did the service scope match the work, and did anyone struggle to find the evidence? Small process improvements compound. They are also more reliable than trusting memory when the next deadline arrives and the original team has changed.

A final practical safeguard is to state the next trigger in plain words: recheck before filing, review when the product changes, or escalate if a close result appears. That keeps trademark API connected to the business rather than stranded in a completed task. The best outcome is not a perfect-looking spreadsheet. It is a team that knows what it checked, what it decided and when that decision needs revisiting.

Frequently asked questions

Is the trademark API free to use?

Anonymous calls are allowed on a daily limit, so a quick check or a prototype costs nothing. Higher limits come with an API key on a paid plan. The pricing page sets out the current limits, and a rate-limited call returns a link to it.

Can an AI agent check trademark availability on its own?

It can run the screen and read the result, which is what this API is for. It should not decide registrability on its own. The agent should stop on a high result, hand a caution result to a person and treat a clear result as a screen passed, not a clearance.

Why does a name come back with caution when there is no registered mark?

The screen counts live applications as well as registrations. A pending application that is still live can block a filing if it was made first and covers related goods or services, so a live pending match can produce a caution result. The live flag on each match shows which records are still live.

What does configured false mean in the response?

It means live trademark search is not set up on that deployment, so no records were screened. Do not read a risk label from that response as a clear result. Treat the check as not performed and try again on a configured deployment.

Does the API replace a full trademark search?

No. It is a knockout screen over register records in the classes you give it. A full search adds phonetic and design comparison, common-law use and state and foreign records, and an attorney review is the step before filing.

Read the developer docs for the clearance API and the MCP server, then run a name through the free search first.

Open the developer docs

Rules and figures cited above are general guidance, not legal advice. To screen a name against live USPTO records, run a free trademark search, or browse the 45 trademark classes.

More guides

Clear your name before you build on it

Search live USPTO records free, then watch your mark for new conflicts — no card to start.

Start free