Flipkart Product Sellers
flipkart.product.sellers
List the sellers offering a product, with their prices and delivery for a PIN code.
At a glance
- Endpoint ID
flipkart.product.sellers- Price
- 5 credits per call; failed calls are free
- Runs for up to
- 45 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "flipkart.product.sellers", "input": { "pincode": "560001", "url": "https://www.flipkart.com/boat-type-c-3-1-5-m-type-c-a320/p/itma010289de41cb?pid=ACCFUGAC4WYMSHYE" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "flipkart.product.sellers", "input": { "pincode": "560001", "url": "https://www.flipkart.com/boat-type-c-3-1-5-m-type-c-a320/p/itma010289de41cb?pid=ACCFUGAC4WYMSHYE" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "flipkart.product.sellers", "input": { "pincode": "560001", "url": "https://www.flipkart.com/boat-type-c-3-1-5-m-type-c-a320/p/itma010289de41cb?pid=ACCFUGAC4WYMSHYE" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
product_id |
string | one of | The product ID, as an alternative to the URL. | |
url |
string | one of | The product's Flipkart URL. | https://www.flipkart.com/boat-type-c-3-1-5-m-ty… |
area |
string | no | The area within that place. | |
country_code |
string | no | The country of that place. | |
location_query |
string | no | A place name, as an alternative to a PIN code. | |
pincode |
string | no | A six-digit Indian PIN code; sellers and delivery dates depend on it. | 560001 |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "end_page": 1, "has_more": false, "product_id": "ACCFUGAC4WYMSHYE", "start_page": 1, "location": { "city": "Bangalore", "message": "Currently out of stock for", "pincode": "560001", "reason": "NO_SERVICEABLE_SELLER", "serviceable": false }, "sellers": [ { "name": "MPDSLERetail", "price": 129, "rating": "4.4", "currency": "INR", "listing_id": "LSTACCFUGAC4WYMSHYEF6FLSE", "product_quality_score": 4.5, "seller_id": "92fa2eec41634a72", "speed_reliability_score": 4, "trust_status": "unknown", "trusted": false }, { "name": "RetailNet", "price": 129, "rating": "4.3", "currency": "INR", "listing_id": "LSTACCFUGAC4WYMSHYEOXI6YN", "product_quality_score": 4.4, "seller_id": "d591418b408940a0", "speed_reliability_score": 4, "trust_status": "unknown", "trusted": false } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
sellers[].name |
string | The name as Flipkart shows it. | MPDSLERetail |
sellers[].price |
integer | The selling price, in the currency given. | 129 |
sellers[].rating |
string | The average star rating. | 4.4 |
sellers[].currency |
string | The currency code of the prices. | INR |
sellers[].listing_id |
string | Flipkart's ID for one seller's listing of the product. | LSTACCFUGAC4WYMSHYEF6FLSE |
sellers[].product_quality_score |
number | Flipkart's rating of the seller's product quality. | 4.5 |
sellers[].seller_id |
string | Flipkart's ID for the seller. | 92fa2eec41634a72 |
sellers[].speed_reliability_score |
integer | Flipkart's rating of the seller's delivery speed and reliability. | 4 |
sellers[].trust_status |
string | unknown | |
sellers[].trusted |
boolean | Whether Flipkart marks the seller as trusted. | false |
location |
object | 5 fields | |
location.city |
string | Bangalore | |
location.message |
string | Currently out of stock for | |
location.pincode |
string | 560001 | |
location.reason |
string | NO_SERVICEABLE_SELLER | |
location.serviceable |
boolean | false | |
end_page |
integer | The last results page read in this call. | 1 |
has_more |
boolean | Whether more results follow. | false |
product_id |
string | Flipkart's ID for the product; the product endpoints take it. | ACCFUGAC4WYMSHYE |
sellers |
array | The sellers offering the product. | 2 records |
start_page |
integer | The first results page read in this call. | 1 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Flipkart Commerce endpoints
Something missing or unclear? Ask the team that builds the Flipkart Commerce endpoints.