# Target on Onekey > 5 endpoints for Target (0 stable, 5 beta), 2 to 3 credits each. Category: E-commerce & marketplaces. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 5 of 5 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/target Reference (Markdown): https://onekey.dev/docs/api/target.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 5 mapped Target endpoints return each: - `entity.name` (string): 4 - `entity.url` (URL): 3 - `entity.id` (string): 2 - `author.displayName` (string): 1 - `content.createdAt` (ISO 8601 date): 1 - `content.id` (string): 1 - `content.text` (string): 1 - `content.title` (string): 1 - `engagement.votes` (integer): 1 - `entity.description` (string): 1 - `entity.slug` (string): 1 - `media.thumbnailUrl` (URL): 1 - `place.address` (string): 1 - `place.city` (string): 1 - `place.lat` (number): 1 - `place.lon` (number): 1 - plus 3 platform-specific fields under `ext.` ## Endpoints ### target.categories The Target category taxonomy. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/target/categories` with header `x-api-key: YOUR_API_KEY` - Parameters: - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.slug` - Reference: https://onekey.dev/docs/api/target/categories.md ### target.product Target product page metadata by TCIN. - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/target/product?tcin=79344180` with header `x-api-key: YOUR_API_KEY` - Parameters: - `tcin` (string, required): Target TCIN - Fields returned: `entity.url`, `entity.name`, `entity.description`, `media.thumbnailUrl`, `ext.canonicalUrl` - Reference: https://onekey.dev/docs/api/target/product.md ### target.reviews Target product reviews. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/target/reviews?tcin=92148487` with header `x-api-key: YOUR_API_KEY` - Parameters: - `tcin` (string, required): Target catalogue id (TCIN), the digits at the end of a product URL - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/target/reviews.md ### target.search Target search results page (links only). - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/target/search?q=laptop` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.url`, `entity.name` - Reference: https://onekey.dev/docs/api/target/search.md ### target.stores Target stores near a ZIP, city or state. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/target/stores?query=headphones` with header `x-api-key: YOUR_API_KEY` - Parameters: - `query` (string, required): ZIP code, city or state to search near - Fields returned: `entity.id`, `entity.name`, `place.address`, `place.city`, `place.lat`, `place.lon`, `ext.phone` - Reference: https://onekey.dev/docs/api/target/stores.md ## Sample request ```bash curl "https://api.onekey.dev/v1/target/product?tcin=79344180" \ -H "x-api-key: YOUR_API_KEY" ```