{"openapi":"3.1.0","info":{"title":"Target Products Prices Reviews and Stores (x402 & MCP)","version":"0.1.0","description":"Target.com US product search, prices, availability, reviews, questions, store locations and weekly ad promotions, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402 on Base. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://ai.opendata.best"}],"paths":{"/s/target-com/v1/products":{"post":{"operationId":"target_com_products","summary":"Target Products Prices Reviews and Stores: Search Target products or browse categories, brands and product details","description":"Product rows with prices, ratings and fulfillment by keyword, category, brand, TCIN or product URL. Auto mode picks the mode from the target you fill. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["target-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Choose what to collect, or use Auto to select a mode from the target you fill. Product URLs and TCINs select details, TCIN lists select summaries, and category, brand or keyword fields select their matching listings. Choose Product questions and answers or Weekly ad promotions explicitly.","default":"auto","enum":["auto","keywordSearch","categoryBrowse","brandBrowse","productDetail","productSummaries","itemDetail"]},"keyword":{"type":"string","description":"Search keyword, e.g. paper towels. Used by Keyword search, Aisles search and Autocomplete."},"productUrl":{"type":"string","description":"A target.com product page link, e.g. https://www.target.com/p/-/A-12345678.","pattern":"^$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*target\\.com(/.*)?\\s*$"},"categoryUrl":{"type":"string","description":"A target.com category or brand page link. For a brand page, explicitly choose Brand browse.","pattern":"^$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*target\\.com(/.*)?\\s*$"},"tcin":{"type":"string","description":"One Target item number, such as 89110863. With automatic mode, this selects product detail."},"tcins":{"type":"array","items":{"type":"string"},"description":"Several TCINs (Target item numbers). Used by Product summaries and Circle membership; each TCIN is one input."},"categoryId":{"type":"string","description":"Target category identifier, such as 5xtg6. You may omit the N- prefix."},"brandId":{"type":"string","description":"Target brand identifier for brand browse. Use the identifier from the brand page."},"categorySlug":{"type":"string","description":"Category path text, such as electronics. A category ID or URL is usually more precise."},"brandSlug":{"type":"string","description":"Brand path slug (e.g. apple)."},"zip":{"type":"string","description":"US ZIP for location-sensitive price and stock, defaulting to 52404. In priced product modes, a changed ZIP with the default store attempts a nearby-store lookup; if it fails, the default store can remain."},"storeId":{"type":"string","description":"Physical Target store identifier for price and stock, defaulting to 1771. Use a real store number, not the online-only store 3991. If you change ZIP while retaining this default, priced product modes attempt to select a nearby store."},"fulfillmentType":{"type":"string","description":"Filter eligible listings by pickup, same-day delivery, shipping or in-store shopping. Any leaves this filter unset.","default":"any","enum":["any","pickup","same_day","shipping","shop_in_store"]},"sortBy":{"type":"string","description":"Choose relevance, featured products, price, rating, best sellers or newest products for listing modes.","default":"relevance","enum":["relevance","Featured","PriceLow","PriceHigh","RatingHigh","bestselling","newest"]},"facets":{"type":"array","items":{"type":"string"},"description":"Target filter option IDs from listing filters, such as d_deals:sale. Leave empty when no extra filter is needed."},"expandVariants":{"type":"boolean","description":"Include available child variant details and prices. Use Emit variants as rows to request separately billed variant rows.","default":true},"includeVariantRows":{"type":"boolean","description":"Opt in to one separately billed row per child variant. Variant rows share the same ZIP and resolved pricing-store context as their parent.","default":false},"maxPages":{"type":"integer","description":"Legacy page setting retained for compatibility. Collection may continue beyond this value to fill the per-input row allowance; use Max results per input to limit delivery.","default":3,"minimum":1,"maximum":25},"enrichDetails":{"type":"boolean","description":"Add available product-page fields to listing rows, up to Enrich limit. Enabled by default.","default":true},"enrichLimit":{"type":"integer","description":"Maximum listing rows to enrich with product-page details, from 0 to 20. Zero disables this enrichment.","default":1,"minimum":0,"maximum":20},"includeFulfillment":{"type":"boolean","description":"Include available pickup, delivery and shipping details on supported product rows. Enabled by default.","default":true},"preselectTcin":{"type":"string","description":"Child variant item number to select when reading product details."},"maxResults":{"type":"integer","description":"Maximum rows for each user input (for example, each TCIN in tcins; scalar modes have one input). The default is 70. Larger values are collected in parts of 70. All row types share each input's allowance, and the run stops at your maximum total charge. Free platform plan: 200 rows per run and 10 runs.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"keyword":"paper towels","enrichDetails":false,"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_target_com"},"example":{"jobId":"job_target-c_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","mode":"example_mode","tcin":"example_tcin","title":"example_title","brand":"example_brand"}],"meta":{"site":"target-com","endpoint":"products","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/target-com/v1/reviews":{"post":{"operationId":"target_com_reviews","summary":"Target Products Prices Reviews and Stores: Product reviews and customer questions for one or more Target items","description":"Full review rows with media links and verified-purchase flags, or customer question rows with brand answers, for a TCIN or product URL. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["target-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Choose what to collect, or use Auto to select a mode from the target you fill. Product URLs and TCINs select details, TCIN lists select summaries, and category, brand or keyword fields select their matching listings. Choose Product questions and answers or Weekly ad promotions explicitly.","default":"productReviews","enum":["productReviews","productQuestions"]},"tcin":{"type":"string","description":"One Target item number, such as 89110863. With automatic mode, this selects product detail."},"productUrl":{"type":"string","description":"A target.com product page link, e.g. https://www.target.com/p/-/A-12345678.","pattern":"^$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*target\\.com(/.*)?\\s*$"},"zip":{"type":"string","description":"US ZIP for location-sensitive price and stock, defaulting to 52404. In priced product modes, a changed ZIP with the default store attempts a nearby-store lookup; if it fails, the default store can remain."},"storeId":{"type":"string","description":"Physical Target store identifier for price and stock, defaulting to 1771. Use a real store number, not the online-only store 3991. If you change ZIP while retaining this default, priced product modes attempt to select a nearby store."},"maxReviews":{"type":"integer","description":"Maximum review rows requested in Product reviews mode, also limited by Max results per input. Zero uses the default of 20; up to 200.","default":20,"minimum":0,"maximum":200},"reviewSortBy":{"type":"string","description":"Order of review rows in Product reviews mode.","default":"most_recent","enum":["most_recent","highest_rating","lowest_rating","helpfulness_desc"]},"reviewRatingFilter":{"type":"string","description":"Only return reviews with these star ratings in Product reviews mode, such as rating_5 or rating_1,rating_2. Leave empty for all ratings."},"verifiedOnly":{"type":"boolean","description":"Only return reviews marked as verified purchases in Product reviews mode.","default":false},"hasOnlyPhotos":{"type":"boolean","description":"Only return reviews that include photos in Product reviews mode.","default":false},"maxResults":{"type":"integer","description":"Maximum rows for each user input (for example, each TCIN in tcins; scalar modes have one input). The default is 70. Larger values are collected in parts of 70. All row types share each input's allowance, and the run stops at your maximum total charge. Free platform plan: 200 rows per run and 10 runs.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"tcin":"89110863","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_target_com"},"example":{"jobId":"job_target-c_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","mode":"example_mode","tcin":"example_tcin","title":"example_title","brand":"example_brand"}],"meta":{"site":"target-com","endpoint":"reviews","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/target-com/v1/catalog":{"post":{"operationId":"target_com_catalog","summary":"Target Products Prices Reviews and Stores: Store locations, category taxonomy, autocomplete suggestions and weekly ad promotions","description":"Catalog rows: physical stores near a ZIP, category children or trees, search suggestions, TargetStyle posts, Circle prices, 3D assets or weekly ad promotions for one store. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["target-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Choose what to collect, or use Auto to select a mode from the target you fill. Product URLs and TCINs select details, TCIN lists select summaries, and category, brand or keyword fields select their matching listings. Choose Product questions and answers or Weekly ad promotions explicitly.","default":"storeLocations","enum":["storeLocations","taxonomyBrowse","categoryTree","aislesSearch","autocomplete","findsPosts","circleMembership","threeDimensional","weeklyAds"]},"keyword":{"type":"string","description":"Search keyword, e.g. paper towels. Used by Keyword search, Aisles search and Autocomplete."},"categoryId":{"type":"string","description":"Target category identifier, such as 5xtg6. You may omit the N- prefix."},"tcin":{"type":"string","description":"One Target item number, such as 89110863. With automatic mode, this selects product detail."},"tcins":{"type":"array","items":{"type":"string"},"description":"Several TCINs (Target item numbers). Used by Product summaries and Circle membership; each TCIN is one input."},"zip":{"type":"string","description":"US ZIP for location-sensitive price and stock, defaulting to 52404. In priced product modes, a changed ZIP with the default store attempts a nearby-store lookup; if it fails, the default store can remain."},"storeId":{"type":"string","description":"Physical Target store identifier for price and stock, defaulting to 1771. Use a real store number, not the online-only store 3991. If you change ZIP while retaining this default, priced product modes attempt to select a nearby store."},"storeIds":{"type":"array","items":{"type":"string"},"description":"Additional Target store identifiers for availability context. Enter identifiers as strings."},"taxonomyDepth":{"type":"integer","description":"How many category levels to explore in Category tree mode, from 1 to 4.","default":2,"minimum":1,"maximum":4},"maxPages":{"type":"integer","description":"Legacy page setting retained for compatibility. Collection may continue beyond this value to fill the per-input row allowance; use Max results per input to limit delivery.","default":3,"minimum":1,"maximum":25},"fiatsLimit":{"type":"integer","description":"Maximum nearby stores checked for pickup and in-store availability on product rows, from 1 to 20.","default":20,"minimum":1,"maximum":20},"fiatsRadius":{"type":"integer","description":"Search radius in miles around the ZIP for nearby store availability, from 1 to 50.","default":50,"minimum":1,"maximum":50},"maxResults":{"type":"integer","description":"Maximum rows for each user input (for example, each TCIN in tcins; scalar modes have one input). The default is 70. Larger values are collected in parts of 70. All row types share each input's allowance, and the run stops at your maximum total charge. Free platform plan: 200 rows per run and 10 runs.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"mode":"storeLocations","zip":"52404","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_target_com"},"example":{"jobId":"job_target-c_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","mode":"example_mode","tcin":"example_tcin","title":"example_title","brand":"example_brand"}],"meta":{"site":"target-com","endpoint":"catalog","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/target-com/v1/health":{"get":{"operationId":"target_com_health","summary":"Target Products Prices Reviews and Stores: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["target-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_target_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Row type"},"id":{"type":["string","null"],"title":"Entity ID"},"mode":{"type":["string","null"],"title":"Mode"},"tcin":{"type":["string","null"],"title":"TCIN"},"title":{"type":["string","null"],"title":"Title"},"brand":{"type":["string","null"],"title":"Brand"},"price":{"type":["number","null"],"title":"Price"},"formattedPrice":{"type":["string","null"],"title":"Price text"},"rating":{"type":["number","null"],"title":"Rating"},"storeId":{"type":["string","null"],"title":"Store"},"zip":{"type":["string","null"],"title":"ZIP"},"productUrl":{"type":["string","null"],"format":"uri","title":"URL"},"capturedAt":{"type":["string","null"],"title":"Captured"}},"additionalProperties":true},"Response_target_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_target_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}}}