Marketplace URLs API
The Marketplace URLs API returns your brand's marketplace listing URLs from the Bolster platform. It covers the same URLs you see in the Live Detections, Takedown in Progress, Taken Down and Ignored tables of the Marketplace module. You choose which tables to get URLs from, and you can narrow the results by First Seen, Detection Date and Takedown Timestamp.
Important Notes
- Each URL is returned once, under the table it is in now. The table field in the response tells you which one.
- All date ranges are optional. Each range works like the date filter on the matching table column. When you send more than one range, a URL must match all of them. When you send no dates, every URL in the selected tables is returned.
- A URL with no value for a date you filter on is not returned. For example, a takedown date range only returns URLs that have been taken down.
- Results cover the brands your API key has access to, the same as what you see on the platform.
- Your account needs the Marketplace module. If the module is not enabled for your account, for example it is not part of your plan or it is turned off for your user, the API returns a 403 error and no URLs.
- A single request returns at most 10,000 URLs. The total field always shows how many URLs matched. If total is more than 10,000, or a request fails with a server error, narrow your date ranges and make several smaller requests.
- All dates and times are in UTC. Dates without a time zone offset are read as UTC, and dates with an offset are converted to UTC.
- Results are sorted by First Seen, newest first.
- Responses can be large. We recommend requesting a compressed response by sending the Accept-Encoding: gzip header (--compressed in curl).
Step 1: Locate Your API Key
Before using the Marketplace URLs API, you need your Bolster API key. Follow these steps to find it:
- Click on the user dropdown in the top-right corner of the page.
- Select Profile Information from the dropdown menu.
- Copy the API key displayed on your profile screen.
Step 2: Initiate Request Through API
Endpoint:
/api/marketplace/v1/urls
API Host:
https://developers.bolster.ai
To make a request, use the following details.
Request Format
Get every URL in the Live Detections, Takedown in Progress and Taken Down tables:
curl --compressed --location 'https://developers.bolster.ai/api/marketplace/v1/urls' \
--header 'Content-Type: application/json' \
--data '{
"apiKey": "<your_api_key>",
"table": ["live", "in_progress", "taken_down"]
}'Get the URLs taken down in January:
curl --compressed --location 'https://developers.bolster.ai/api/marketplace/v1/urls' \
--header 'Content-Type: application/json' \
--data '{
"apiKey": "<your_api_key>",
"table": ["taken_down"],
"takedownStartDate": "1970-01-01T00:00:00Z",
"takedownEndDate": "1970-01-31T23:59:59Z"
}'Request Parameters
- apiKey (required): Your user API key.
- table (required): The tables to get URLs from. An array with one or more of the values in the Tables section below.
- firstSeenStartDate (optional): Only return URLs first seen at or after this time.
- firstSeenEndDate (optional): Only return URLs first seen at or before this time, inclusive to the second.
- detectionStartDate (optional): Only return URLs detected at or after this time.
- detectionEndDate (optional): Only return URLs detected at or before this time, inclusive to the second.
- takedownStartDate (optional): Only return URLs taken down at or after this time.
- takedownEndDate (optional): Only return URLs taken down at or before this time, inclusive to the second.
You can send a start date, an end date or both. When you send both for the same range, the start date must not be later than the end date. A date sent as null is treated as not sent.
Tables
| Value | Table on the platform |
| live | Live Detections |
| in_progress | Takedown in Progress, including URLs awaiting documents and exhausted takedowns |
| taken_down | Taken Down |
| ignored | Ignored |
Date Format
Every date needs a date and a time. A date on its own, such as 1970-01-01, is not accepted. Milliseconds and a time zone offset are optional:
| Value | Read as (UTC) |
| 1970-01-01T00:00:00Z | 1970-01-01T00:00:00Z |
| 1970-01-01T00:00:00.000Z | 1970-01-01T00:00:00Z |
| 1970-01-01T00:00:00 | 1970-01-01T00:00:00Z (no offset, so UTC is assumed) |
| 1970-01-01T05:30:00+05:30 | 1970-01-01T00:00:00Z |
Response
The API returns the matching URLs along with the total number of matches.
Response Fields
| Field | Description |
| total | Total number of URLs that matched. This can be more than the number of URLs returned. |
| urls | An array of up to 10,000 URL objects, sorted by First Seen, newest first. See Per-URL Fields below. |
Per-URL Fields
Each object in the urls array contains the following fields. Every field is always present; fields with no value are returned as null, and categories and searchTerms as empty arrays.
| Field | Description |
| url | The marketplace listing URL. |
| table | The table the URL is in now: live, in_progress, taken_down or ignored. |
| brand | The brand the URL was found for. |
| platform | The marketplace, for example eBay, Amazon or Shopee. |
| origin | Where the URL was found on the marketplace, for example Product. |
| categories | The categories of the URL, for example Health and beauty or Miscellaneous. |
| searchTerms | Matched Search Terms: the search terms the URL was found for. |
| threatIntent | The kind of threat the URL poses, for example Counterfeit Goods, Unauthorized Reseller or Trademark Abuse. null if the URL has not been assessed. |
| threatIntentSummary | A short description of why the URL is a threat. null if the URL has not been assessed. |
| firstSeenTs | First Seen: when Bolster first saw the URL (UTC). |
| detectionTs | Detection Date: when the URL was added to Live Detections, Takedown in Progress or Taken Down (UTC). If the URL was ignored and later added back, this is when it was added back. null if the URL has never been in those tables. |
| takedownSubmittedTs | When the takedown request was submitted (UTC). null if no takedown has been requested. |
| takedownTs | Takedown Timestamp: when the URL was taken down (UTC). null if the URL has not been taken down. |
| insightsUrl | Link to the URL's insights page on the Bolster platform. |
Successful Response (Status Code: 200)
The following example shows one URL in takedown and one URL that has been taken down:
{
"total": 2,
"urls": [
{
"url": "https://www.ebay.com/itm/100000000001",
"table": "in_progress",
"brand": "Example Brand",
"platform": "eBay",
"origin": "Product",
"categories": [
"Health and beauty"
],
"searchTerms": [
"example brand"
],
"threatIntent": "Counterfeit Goods",
"threatIntentSummary": "The listing sells Example Brand skincare at a fraction of the retail price with copied product photos.",
"firstSeenTs": "1970-01-18T10:15:02.120Z",
"detectionTs": "1970-01-18T14:02:41.508Z",
"takedownSubmittedTs": "1970-01-19T09:30:12.004Z",
"takedownTs": null,
"insightsUrl": "https://platform.bolster.ai/marketplace/insights/b25f69540b544f2e0bf790caf4c602548e7e642aef122f823be29294912afc36"
},
{
"url": "https://www.amazon.com/dp/B000000001",
"table": "taken_down",
"brand": "Example Brand",
"platform": "Amazon",
"origin": "Product",
"categories": [
"Miscellaneous"
],
"searchTerms": [
"example brand"
],
"threatIntent": "Unauthorized Reseller",
"threatIntentSummary": "The seller lists new Example Brand devices without being an authorized reseller.",
"firstSeenTs": "1970-01-05T08:42:11.311Z",
"detectionTs": "1970-01-05T12:20:07.915Z",
"takedownSubmittedTs": "1970-01-05T13:01:44.270Z",
"takedownTs": "1970-01-12T16:05:47.530Z",
"insightsUrl": "https://platform.bolster.ai/marketplace/insights/75788cea81bed557dd4d1b37eaa52c1060b72ed6935d629ef309c95945fcb862"
}
]
}Error Responses
If the request is invalid, the API returns an error response and no URLs.
Status Code: 401
{
"error": {
"statusCode": 401,
"name": "Error",
"message": "Invalid API key or API key not enabled."
}
}Status Code: 403
The Marketplace module is not enabled for your account:
{
"error": {
"statusCode": 403,
"name": "Error",
"message": "The Marketplace module is not enabled for your account."
}
}Status Code: 400
The following 400 errors may be returned:
Missing parameter:
{
"error": {
"statusCode": 400,
"name": "Error",
"message": "table is a required argument"
}
}Invalid table:
{
"error": {
"statusCode": 400,
"name": "Error",
"message": "table must be a non-empty array of: live, in_progress, taken_down, ignored"
}
}Invalid date:
{
"error": {
"statusCode": 400,
"name": "Error",
"message": "takedownStartDate must be an ISO 8601 date-time such as 1970-01-01T00:00:00Z"
}
}Start date after end date:
{
"error": {
"statusCode": 400,
"name": "Error",
"message": "takedownStartDate must not be after takedownEndDate"
}
}Support
If you have any questions or encounter any issues while using the Marketplace URLs API, please contact our support team at [email protected].