USPTO Trademark Search API
A fast JSON REST API for USPTO trademark data — a developer-friendly alternative to scraping TSDR. Search 14M+ records by exact or fuzzy mark literal, look up serial-number status, and filter by owner, class, and date. Bearer-token auth, JSON responses. Get an API key →
Overview
The Goalie IP Trademark API provides structured access to a continuously-refreshed copy of the USPTO trademark dataset — the same data that powers our search tools. Query by mark name, owner, status, international class, serial number, and more. New here? See the API product overview for a feature summary, TSDR comparison, and pricing.
| Base URL | https://www.goalieip.com |
| Version | v1 |
| Format | JSON request and response bodies |
| Auth | Bearer token in Authorization header |
| Data source | Goalie IP's own refreshed copy of the USPTO trademark dataset |
| Updated | Daily, ingested from USPTO bulk data (occasionally a day behind) |
updatedAt reflects its last refresh. Goalie IP is not affiliated with, or endorsed by, the USPTO.Why this API vs. USPTO TSDR
The USPTO's own TSDR API returns one record at a time by serial or registration number — there is no way to search by mark text, owner, or class. The Goalie IP API adds full-text, exact, and fuzzy mark search with filtering and pagination across the entire dataset, returning clean JSON built for application use.
| Capability | USPTO TSDR API | Goalie IP API |
|---|---|---|
| Search by mark text (exact / contains / fuzzy) | No — serial/registration lookup only | Yes |
| Filter by owner, class, status, date | No | Yes |
| Serial-number status as JSON | Yes (verbose XML/JSON) | Yes (clean JSON) |
| Pagination over result sets | No | Yes — up to 500 / page |
| Per-call quota usage in response | No | callsUsed / callsRemaining |
| Free tier | Throttled, key required | 200 calls/mo, no card |
Authentication
Every request must include your API key as a Bearer token in the Authorization header. Keys are created and managed in your portal.
Authorization: Bearer gip_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Keys are prefixed with gip_live_ and are 40 characters total. Keep them secret — they are shown only once at creation. You can create up to 5 active keys per account.
www. host directly. Send requests to https://www.goalieip.com/…. The apex goalieip.com redirects to www, and many HTTP clients drop the Authorization header (returning 401) or downgrade POST→GET (returning 405) when following that redirect.Quick start
Search for all active registrations of a mark in a specific class:
curl -X POST https://www.goalieip.com/api/v1/trademarks/search \
-H "Authorization: Bearer gip_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"markLiteral": "ACME",
"markLiteralMode": "exact",
"currentStatusCode": ["700", "800"],
"internationalClasses": ["025"],
"page": 1,
"pageSize": 25
}'Look up a specific trademark by serial number:
curl https://www.goalieip.com/api/v1/trademarks/97123456 \ -H "Authorization: Bearer gip_live_your_key_here"
Code examples
Common recipes in Python and Node.js. Each call returns JSON; replace gip_live_your_key_here with a key from your portal.
Exact mark query (Python)
import requests
resp = requests.post(
"https://www.goalieip.com/api/v1/trademarks/search",
headers={"Authorization": "Bearer gip_live_your_key_here"},
json={
"markLiteral": "ACME",
"markLiteralMode": "exact",
"currentStatusCode": ["700", "800"], # live / registered
"page": 1,
"pageSize": 25,
},
)
data = resp.json()
print(data["meta"]["total"], "matches")
for tm in data["data"]:
print(tm["serialNumber"], tm["markLiteral"], tm["currentStatusCode"])Serial-number status as JSON (Node.js)
const res = await fetch(
"https://www.goalieip.com/api/v1/trademarks/97123456",
{ headers: { Authorization: "Bearer gip_live_your_key_here" } }
);
const { data } = await res.json();
console.log(data.markLiteral, "→", data.currentStatusCode, data.currentStatusDate);Fuzzy mark-literal search (curl)
Find confusingly similar marks using trigram matching — useful for clearance and watch workflows.
curl -X POST https://www.goalieip.com/api/v1/trademarks/search \
-H "Authorization: Bearer gip_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "markLiteral": "Kodak", "markLiteralMode": "fuzzy", "pageSize": 50 }'Search by owner and class (Python)
resp = requests.post(
"https://www.goalieip.com/api/v1/trademarks/search",
headers={"Authorization": "Bearer gip_live_your_key_here"},
json={
"ownerName": "Nike, Inc.",
"internationalClasses": ["025", "035"],
"filingDateFrom": "2020-01-01",
"sortField": "filingDate",
"sortDir": "desc",
},
)
print(resp.json()["meta"]["total"], "marks")POST/api/v1/trademarks/search
Search and filter the trademark database. Returns a paginated list of matching records. Every request must include at least one narrowing filter — one of markLiteral, ownerName, serialNumber, registrationNumber, attorneyName, or goodsAndServices. Class, status, and date filters narrow results further but cannot be used on their own (a query with none of the above returns 400). Results are sorted by filing date descending unless sortField is set.
Request
POST /api/v1/trademarks/search
Authorization: Bearer gip_live_...
Content-Type: application/json
{
"markLiteral": "NIKE",
"markLiteralMode": "exact",
"ownerName": "Nike, Inc.",
"currentStatusCode": ["700", "800"],
"internationalClasses": ["025", "035"],
"filingDateFrom": "2020-01-01",
"page": 1,
"pageSize": 25
}Response
{
"data": [
{
"serialNumber": "97123456",
"registrationNumber": "6789012",
"markLiteral": "NIKE",
"ownerName": "Nike, Inc.",
"currentStatusCode": "700",
"currentStatusDate": "2022-03-15T00:00:00.000Z",
"filingDate": "2021-06-01T00:00:00.000Z",
"internationalClasses": ["025"],
"goodsAndServices": "Athletic footwear and apparel",
...
}
],
"meta": {
"total": 61,
"page": 1,
"pageSize": 25,
"callsUsed": 1,
"callsRemaining": 4999
}
}GET/api/v1/trademarks/{serialNumber}
Retrieve a single trademark record by its USPTO serial number. Returns the full record or 404 if not found.
GET /api/v1/trademarks/97123456 Authorization: Bearer gip_live_...
Response
{
"data": {
"serialNumber": "97123456",
"registrationNumber": "6789012",
"markLiteral": "NIKE",
...
},
"meta": {
"callsUsed": 2,
"callsRemaining": 4998
}
}Search parameters
At least one narrowing filter is required (see above); all other fields are optional. Combining multiple fields narrows results (AND logic).
Mark filters
| Field | Type | Description |
|---|---|---|
markLiteral | string | The text of the mark. Case-insensitive. |
markLiteralMode | "contains" "exact" "fuzzy" | How to match markLiteral. contains — substring match (default). exact — full string equality. fuzzy — phonetic similarity using trigram matching; useful for finding confusingly similar marks. |
markDrawingCode | string | Filter by drawing type code. See Drawing codes. |
Owner & attorney filters
| Field | Type | Description |
|---|---|---|
ownerName | string | Substring match on the registrant/owner name. |
attorneyName | string | Substring match on the attorney of record. |
Classification & goods filters
| Field | Type | Description |
|---|---|---|
internationalClasses | string[] | Filter by Nice Classification codes. Pass multiple to match any (OR logic). Values are zero-padded three-digit strings, e.g. "025", "035". See the 45 trademark classes. |
goodsAndServices | string | Substring match on the goods and services description. |
Status & identifier filters
| Field | Type | Description |
|---|---|---|
serialNumber | string | Exact match on the USPTO serial number. |
registrationNumber | string | Exact match on the registration number. |
currentStatusCode | string[] | Filter by one or more status codes (OR logic). E.g. ["700", "800"] for all registered marks. See Status codes. |
Date range filters
| Field | Type | Description |
|---|---|---|
filingDateFrom | ISO 8601 date string | Include only records filed on or after this date. Example: "2023-01-01". |
filingDateTo | ISO 8601 date string | Include only records filed on or before this date. Example: "2023-01-01". |
currentStatusDateFrom | ISO 8601 date string | Filter by status change date (on or after). Example: "2023-01-01". |
currentStatusDateTo | ISO 8601 date string | Filter by status change date (on or before). Example: "2023-01-01". |
Pagination & sorting
| Field | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number, 1-indexed. |
pageSize | integer | 25 | Results per page. Max 500. |
sortField | string | filingDate | Field to sort by. One of: serialNumber, filingDate, transactionDate, markLiteral, ownerName, currentStatusCode, currentStatusDate, registrationNumber. |
sortDir | "asc" "desc" | "asc" | Sort direction. |
Response fields
Each record in data[] contains the following fields.
| Field | Type | Description |
|---|---|---|
serialNumber | string | USPTO serial number. Unique identifier for each application. |
registrationNumber | string | null | Registration number once granted. "0000000" means not yet registered. |
markLiteral | string | null | The text of the mark. Null for purely design marks. |
markDrawingCode | string | Code indicating the type of mark drawing. See Drawing codes. |
ownerName | string | null | Name of the current owner/registrant. |
ownerAddress | object | null | Structured address: city, country, postcode, address_1, nationality_country, legal_entity_type_code. |
correspondentAddress | string | null | Full mailing address of the correspondent of record. |
attorneyName | string | null | Attorney of record at the USPTO. |
attorneyDocketNumber | string | null | Attorney's internal docket reference, if recorded. |
filingDate | ISO datetime | null | Date the application was filed. |
transactionDate | ISO datetime | Date of the most recent USPTO transaction. |
currentStatusCode | string | Current application/registration status code. See Status codes. |
currentStatusDate | ISO datetime | Date the current status was set. |
statusHistory | array | Ordered list of all status events: { code, date, description }. |
publishedForOppositionDate | ISO datetime | null | Date published for opposition in the Official Gazette, if applicable. |
internationalClasses | string[] | Nice Classification class codes, e.g. ["025", "035"]. Empty array if unclassified. |
goodsAndServices | string | null | Full goods and services description from the application. |
currentLocation | string | null | Current physical location at the USPTO (e.g. "PUBLICATION AND ISSUE SECTION"). |
employeeName | string | null | USPTO examining attorney assigned to the application. |
headerFlags | object | Boolean flags for application attributes (see below). |
createdAt | ISO datetime | When this record was added to the Goalie IP database. |
updatedAt | ISO datetime | When this record was last updated. |
headerFlags
Boolean attributes of the application. Commonly useful flags:
| Flag | Meaning when true |
|---|---|
trademark_in | Filed as a trademark (vs. service mark, collective mark, etc.) |
service_mark_in | Filed as a service mark |
intent_to_use_in | Original filing basis was intent-to-use (§1(b)) |
use_application_currently_in | Current basis is use in commerce (§1(a)) |
standard_characters_claimed_in | Mark is in standard characters with no design claim |
color_drawing_current_in | Color is currently claimed as a feature of the mark |
section_8_filed_in | Section 8 declaration of use has been filed |
section_15_filed_in | Section 15 declaration of incontestability has been filed |
renewal_filed_in | Renewal application has been filed |
opposition_pending_in | Opposition proceeding is currently pending |
cancellation_pending_in | Cancellation proceeding is currently pending |
foreign_priority_in | Foreign priority claim under §44(d) |
meta
| Field | Description |
|---|---|
total | Total number of records matching the query (across all pages). |
page | Current page number. |
pageSize | Number of results returned on this page. |
callsUsed | Total API calls made by your account this calendar month, including this request. |
callsRemaining | Calls remaining this month before your quota is exhausted. |
Status codes
The currentStatusCode field uses USPTO internal codes. The most commonly encountered codes by category:
| Code | Description |
|---|---|
630 | New application — not yet assigned to examiner |
638 | New application — assigned to examiner |
641 | Non-final office action mailed |
645 | Final refusal mailed |
680 | Approved for publication |
686 | Published for opposition |
688 | Notice of allowance issued |
718–734 | Statement of use extension requests (ITU) |
744 | Statement of use filed |
760 | Ex parte appeal pending |
774 | Opposition pending |
| Code | Description |
|---|---|
700 | Registered |
701 | Section 8 accepted (declaration of use filed) |
702 | Section 8 & 15 accepted — incontestable |
703 | Section 15 acknowledged |
800 | Registered and renewed |
| Code | Description |
|---|---|
600 | Abandoned — incomplete response |
601 | Abandoned — express |
602 | Abandoned — failure to respond or late response |
606 | Abandoned — no statement of use filed |
900 | Expired |
| Code | Description |
|---|---|
709 | Cancelled — Section 71 |
710 | Cancelled — Section 8 (failure to file maintenance) |
711 | Cancelled — Section 7 |
712 | Cancelled by court order (Section 37) |
626 | Registered backfile — cancelled or expired |
To filter for all live registered marks, pass "currentStatusCode": ["700", "701", "702", "703", "704", "705", "800"].
Drawing codes
The markDrawingCode field indicates the form of the mark drawing submitted to the USPTO.
| Code | Description |
|---|---|
1 | Typed drawing — plain word mark, no design element |
2 | Design without color claim |
3 | Design with color claim |
4 | Standard character mark — word in any font, size, or color |
5 | Standard character mark with color claim |
6 | Special form — word combined with design element |
To find only word marks (no design element), filter for markDrawingCode: "4" (standard characters) or "1" (typed drawing).
Error responses
Errors return a JSON body with an error string and the appropriate HTTP status code.
{ "error": "Monthly call quota of 5000 calls exceeded. Upgrade at https://goalieip.com/subscribe" }| Status | Cause | Resolution |
|---|---|---|
400 | Invalid JSON, an unrecognized parameter, a malformed date, or no narrowing filter supplied. | Check the error message for the specific field. Include at least one narrowing filter (see POST /search). |
401 | Missing, malformed, or revoked API key. | Verify the Authorization header is present and the key is active in your portal. Call the www. host directly. |
404 | Serial number not found (lookup endpoint only). | Verify the serial number. USPTO serial numbers are 8 digits. |
429 | Monthly call quota exceeded, or the per-key burst limit was hit. | For quota: upgrade or wait for the 1st of next month. For a burst: honor the Retry-After header and slow down. |
500 | Internal server error. | Retry the request. If it persists, contact reid@goalieip.com. |
503 | Search is momentarily busy (concurrency limit) or the database is warming up. | Retryable — wait for the Retry-After delay and try again. |
504 | The query exceeded the server time limit (typically a broad fuzzy search). | Narrow the query (more specific term, add a filter, or use exact/contains), then retry. |
Rate limits
Two limits apply. The monthly quota is enforced at the account level — all API keys on the same account share one monthly pool, reset on the 1st of each calendar month. A separate short-window burst limit caps how many requests a single key may make in a rolling 10-second window, protecting shared capacity; paid tiers are far more generous.
| Plan | Calls / month | Burst limit | Overage |
|---|---|---|---|
| Free | 200 | 10 / 10s | None — requests return 429 when exhausted |
| API Starter ($19/mo) | 5,000 | 50 / 10s | +$0.004 per call |
| API Professional ($49/mo) | 30,000 | 100 / 10s | +$0.002 per call |
Exceeding the burst limit returns 429 with a Retry-After header (seconds) plus X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. Back off and retry after the indicated delay. Burst-limited requests do not count against your monthly quota.
Every response includes meta.callsUsed and meta.callsRemaining so you can monitor consumption in your application. Upgrade your plan →
Frequently asked questions
Is there a USPTO trademark search API?
Yes. The Goalie IP Trademark Search API is a JSON REST API over 14M+ USPTO trademark records. Send a POST to /api/v1/trademarks/search with a Bearer token to search by mark literal, owner, status, international class, and filing date, or GET /api/v1/trademarks/{serialNumber} to look up a single record.
How do I get a trademark's status as JSON by serial number?
Call GET https://www.goalieip.com/api/v1/trademarks/{serialNumber} with your API key in the Authorization header. The response is JSON including currentStatusCode and currentStatusDate, so you can read the live USPTO status of any serial number programmatically.
Can I do an exact mark-literal search through the API?
Yes. POST to /api/v1/trademarks/search with {"markLiteral":"ACME","markLiteralMode":"exact"} for a full-string match. Use "contains" for a substring search or "fuzzy" for trigram-based similarity matching of confusingly similar marks.
How is this different from the USPTO TSDR API?
USPTO TSDR returns one record at a time by serial or registration number and is rate-limited and verbose. The Goalie IP API adds full-text and fuzzy mark search, owner/class/date filtering, and pagination across the whole dataset, returning clean JSON built for application use.
Does the trademark API return data in JSON?
Yes. Both endpoints speak JSON. A search POST returns a data array of trademark records plus a meta object (total, page, pageSize, callsUsed, callsRemaining); the serial-number lookup returns a single record as JSON. You send JSON search filters in the request body with a Bearer token and get JSON back — no XML, no scraping.
Is the trademark search API free?
There is a free tier of 200 calls per month with no credit card required. Paid plans start at $19/month (5,000 calls) for Starter and $49/month (30,000 calls) for Professional.
Is the data live from the USPTO?
No. The API serves Goalie IP's own copy of the USPTO trademark dataset, ingested from USPTO bulk data and refreshed daily (occasionally a day behind) — not a live connection to USPTO systems. Each record's updatedAt field reflects its last refresh. Goalie IP is not affiliated with or endorsed by the USPTO.
Ready to build? View API plans and get a key →