BankMyCell
Live trade-in offers for a phone/device from every merchant BankMyCell compares, for a chosen capacity/condition/carrier — read off the same pricing…
Live trade-in offers for a phone/device from every merchant BankMyCell compares, for a chosen capacity/condition/carrier — read off the same pricing endpoint the site's own sell page polls, instead of parsing prose off the rendered page. searchDevices resolves a shopper's own words ("iPhone 14") to the deviceUrl getTradeInQuote needs.
Domain: bankmycell.com
Also known as: BankMyCell, bankmycell.com
Call it directly
bowmark.providers.bankmycell.searchDevices(term: string): Promise<BankmycellSearchResult[]>
bowmark.providers.bankmycell.getTradeInQuote(deviceUrl: string, selections?: { capacity?: string; condition?: string; carrier?: string; lockedStatus?: string }): Promise<BankmycellQuoteResult>Functions
| Function | What it does |
|---|---|
searchDevices | Searches BankMyCell's own device index by free text (e.g. "iPhone 14", "Galaxy S23") and returns the matching devices with their deviceUrl — the entry point: it turns a shopper's own words… |
getTradeInQuote | Reads live trade-in offers for the device at a bankmycell.com sell page (e.g. .../sell/iphone-14-pro), from every merchant the site compares, for the given… |
Types
interface BankmycellSearchResult {
brand: string;
model: string;
name: string;
deviceUrl: string;
minPrice: number | null;
maxPrice: number | null;
}
interface BankmycellOffer {
merchant: string;
price: number;
paymentOptions: string;
shippingOptions: { id: string; name: string }[];
pricelockTimescale: string | null;
paymentTimescale: string | null;
checkoutLink: string;
reviewsRating: number | null;
reviewsCount: number | null;
}
interface BankmycellQuoteResult {
deviceUrl: string;
selections: { capacity: string | null; condition: string | null; carrier: string | null; lockedStatus: string | null };
offers: BankmycellOffer[];
unavailableMerchants: string[];
summary: { minPrice: number | null; maxPrice: number | null; avgPrice: number | null; count: number };
}Examples
// what do merchants pay for a Flawless, unlocked 256GB iPhone 14 Pro right now?
const [device] = await bowmark.providers.bankmycell.searchDevices("iPhone 14 Pro");
const quote = await bowmark.providers.bankmycell.getTradeInQuote(
device.deviceUrl,
{ capacity: "256GB", condition: "Flawless" },
);
log(quote.offers.map(o => `${o.merchant}: $${o.price}`).join("\n"));