GTIN / UPC Barcode Product & Arbitrage Intelligence (MCP) avatar

GTIN / UPC Barcode Product & Arbitrage Intelligence (MCP)

Pricing

from $10.00 / 1,000 gtin/upc/ean/isbn barcode validated, resolved across open registries & analyzed for resale arbitrages

Go to Apify Store
GTIN / UPC Barcode Product & Arbitrage Intelligence (MCP)

GTIN / UPC Barcode Product & Arbitrage Intelligence (MCP)

Deterministic GTIN / UPC / EAN / ISBN barcode product resolver & multi-marketplace arbitrage engine. ISO Modulo-10 checksum verification, GS1 prefix decoding, multi-registry lookup, and Amazon/eBay/Walmart fee spread calculators.

Pricing

from $10.00 / 1,000 gtin/upc/ean/isbn barcode validated, resolved across open registries & analyzed for resale arbitrages

Rating

0.0

(0)

Developer

Dysen K

Dysen K

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Categories

Features

Limited permissions

Share

🏷️ Universal GTIN / Barcode Product & Arbitrage Intelligence (MCP)

Deterministic ISO/GS1 Barcode Verification, Open Multi-Registry Catalog Resolver, Multi-Marketplace Fee Calculator, and Token-Optimized AI Agent Briefs.

Apify Actor LICENSE GS1 Standard MCP Ready


🚀 Why This Actor Wins

E-commerce resellers, Amazon FBA sourcing bots, retail arbitrageurs, and CPG procurement agents frequently suffer from fuzzy keyword search hallucinations and fragile web scrapers when matching products across marketplaces.

Universal GTIN / Barcode Product & Arbitrage Intelligence replaces brittle scraping with 100% deterministic, ISO-standard barcode decoding and open catalog resolution:

  1. Deterministic ISO/GS1 Checksum Verification:

    • Evaluates GTIN-8, UPC-A (12 digits), EAN-13 (13 digits), and GTIN-14 using the official GS1 Modulo-10 Check Digit Algorithm.
    • Decodes the GS1 Company Prefix Country / Region (e.g. 000-139 US & Canada, 300-379 France, 400-440 Germany, 450-459/490-499 Japan, 500-509 UK, 690-699 China, 978-979 Bookland ISBN).
    • Converts legacy ISBN-10 to ISBN-13 / EAN-13 automatically with recalculated Modulo-10 check digits.
  2. Open Multi-Registry Catalog Resolver:

    • Queries official, unauthenticated open barcode data networks in parallel:
      • OpenFoodFacts / OpenBeautyFacts / OpenProductsFacts v2 API: Extracts official product title, brand, category hierarchy, packaging, net weight/volume, Nutri-Score, Eco-Score, NOVA food processing group, and full ingredients lists.
      • OpenLibrary Media & Books API: Enriches 978/979 Bookland ISBNs with book title, author list, publishers, publication date, page count, and high-res cover art.
      • UPCitemdb Registry: Gathers brand, model, lowest/highest recorded historical prices, and live merchant retail offers.
  3. Multi-Marketplace Arbitrage & Fee Calculator:

    • Computes fee schedules across Amazon (FBA/FBM), eBay, and Walmart Marketplace:
      • Amazon Referral Fees (8% to 15%) + Variable Media Closing Fees ($1.80 for books).
      • eBay Final Value Fees (13.25% + $0.30, or 14.95% for media).
      • Walmart Referral Fees (8% to 15%).
    • Calculates Break-Even Resale Selling Price (0% ROI) and Target ROI Resale Selling Price (default 25% ROI) factoring in your estimated shipping/fulfillment costs.
    • Realizes actual net payout, net profit spread, and profit margin % when market prices or merchant offers are observed.
  4. Token-Optimized MCP Briefs (<400 tokens):

    • Emits structured, high-density Markdown briefs ready for LLMs (Claude, GPT-4o, Gemini) without context window bloat.
    • Generates an actionable summary in Key-Value store MCP_PROMPT for autonomous retail sourcing workflows.

📥 Input Parameters

ParameterTypeDefaultDescription
barcodesarray(prefilled)List of GTIN-8, UPC-A, EAN-13, GTIN-14, or ISBN barcodes to resolve.
targetRoiPercentinteger25Target return on investment percentage (5% to 200%) used for resale price modeling.
estimatedShippingCostnumber4.5Estimated packaging & shipping fulfillment cost in USD per unit.
buyPricesobject{}Optional key-value map of barcode to wholesale acquisition price (e.g. {"3017620422003": 2.50}).
concurrencyinteger5Concurrent registry lookup workers (1 to 15).

Example Input (INPUT.json)

{
"barcodes": [
"3017620422003",
"5449000000996",
"9780132350884",
"0049000028904"
],
"targetRoiPercent": 25,
"estimatedShippingCost": 4.5,
"buyPrices": {
"3017620422003": 3.00,
"9780132350884": 8.00
},
"concurrency": 5
}

📤 Output Dataset Format

Each record written to the default Apify Dataset contains rich, verified product metadata and deterministic arbitrage calculations:

{
"barcode": "3017620422003",
"rawInput": "3017620422003",
"standardFormat": "EAN-13",
"isValid": true,
"expectedCheckDigit": 3,
"actualCheckDigit": 3,
"validationError": null,
"ean13": "3017620422003",
"upcA": null,
"gtin14": "03017620422003",
"countryOrAuthority": "France",
"gs1Authority": "GS1 France",
"prefix": "301",
"isBooklandIsbn": false,
"isCoupon": false,
"isRestrictedDistribution": false,
"foundInRegistries": true,
"sourceRegistries": ["OpenFoodFacts"],
"productName": "Nutella Ferrero Hazelnut Spread",
"brand": "Ferrero, Nutella",
"category": "Spreads",
"categories": ["Spreads", "Sweet spreads", "Hazelnut spreads"],
"quantity": "400 g",
"packaging": "Glass jar",
"countries": ["France", "United States", "Germany"],
"imageUrl": "https://images.openfoodfacts.org/images/products/301/762/042/2003/front_en.jpg",
"nutriscoreGrade": "E",
"ecoscoreGrade": "D",
"novaGroup": 4,
"ingredientsText": "Sugar, palm oil, hazelnuts (13%), skimmed milk powder (8.7%), fat-reduced cocoa (7.4%)",
"pricing": {
"lowestRecordedPrice": 4.99,
"highestRecordedPrice": 18.99,
"averageRecordedPrice": 12.50,
"currency": "USD",
"offersCount": 3,
"offers": [
{
"merchant": "Amazon.com",
"currency": "USD",
"price": 18.99,
"condition": "New",
"availability": "InStock",
"link": "https://amazon.com/..."
}
]
},
"arbitrage": {
"hasUserBuyPrice": true,
"buyPrice": 3.00,
"effectiveBuyPrice": 3.00,
"estimatedShippingCost": 4.50,
"targetRoiPercent": 25,
"marketPrice": 18.99,
"bestMarketplace": "eBay",
"arbitrageOpportunityScore": 95,
"marketplaces": {
"amazon": {
"platform": "Amazon",
"feeSchedule": "Amazon Grocery (15%)",
"referralRatePercent": 15,
"fixedFee": 0.30,
"breakevenSalePrice": 9.18,
"targetRoiSalePrice": 11.38,
"realized": {
"marketPrice": 18.99,
"feeAmount": 3.15,
"netPayout": 11.34,
"netProfit": 8.34,
"netMarginPercent": 43.92,
"actualRoiPercent": 111.20,
"isProfitable": true,
"meetsTargetRoi": true
}
},
"ebay": {
"platform": "eBay",
"feeSchedule": "eBay Standard (13.25% + $0.30)",
"referralRatePercent": 13.25,
"fixedFee": 0.30,
"breakevenSalePrice": 8.99,
"targetRoiSalePrice": 11.15,
"realized": {
"marketPrice": 18.99,
"feeAmount": 2.82,
"netPayout": 11.67,
"netProfit": 8.67,
"netMarginPercent": 45.66,
"actualRoiPercent": 115.60,
"isProfitable": true,
"meetsTargetRoi": true
}
},
"walmart": {
"platform": "Walmart",
"feeSchedule": "Walmart Standard Marketplace (15%)",
"referralRatePercent": 15,
"fixedFee": 0.0,
"breakevenSalePrice": 8.82,
"targetRoiSalePrice": 11.03,
"realized": {
"marketPrice": 18.99,
"feeAmount": 2.85,
"netPayout": 11.64,
"netProfit": 8.64,
"netMarginPercent": 45.50,
"actualRoiPercent": 115.20,
"isProfitable": true,
"meetsTargetRoi": true
}
}
}
},
"mcpMarkdownBrief": "### 🏷️ [EAN-13: `3017620422003`] Nutella Ferrero Hazelnut Spread (Ferrero, Nutella)\n- **GS1 Verification:** ✅ Valid | **Origin:** France | **Standard:** EAN-13\n- **Category:** Spreads | **Nutri-Score:** E | **Eco-Score:** D | **NOVA:** Group 4\n- **Resale Economics:** Cost: $3.00 buy + $4.50 ship = $7.50 basis | **Observed Market:** $18.99 (3 offers)\n - **Amazon:** Break-even: $9.18 | Target 25% ROI: $11.38 -> Net Profit: $8.34 (111.2% ROI)\n - **eBay:** Break-even: $8.99 | Target 25% ROI: $11.15 -> Net Profit: $8.67 (115.6% ROI)\n - **Walmart:** Break-even: $8.82 | Target 25% ROI: $11.03 -> Net Profit: $8.64 (115.2% ROI)\n- **Recommendation:** **eBay** | **Arbitrage Score:** 95/100 🔥 High Yield"
}

🤖 Model Context Protocol (MCP) Integration

This actor is purpose-built for AI agents operating via Anthropic Claude, LangChain, LlamaIndex, or AutoGen.

Stored Key-Value Store Artifacts:

  • OUTPUT: JSON summary of scan results, checksum passes, registry resolutions, and marketplace distributions.
  • MCP_PROMPT: Self-contained Markdown brief designed to be fed straight into an autonomous procurement agent:
# 🏷️ Universal GTIN / Barcode Product & Arbitrage Intelligence Report
## 📊 Scan Execution Summary
- **Total Barcodes Processed:** 4
- **GS1 Checksum Validated:** 4 ✅ | **Failed Checksums:** 0 ❌
- **Resolved in Open Registries:** 4 / 4
- **High-Yield Arbitrage Opportunities (Score >= 80):** 3 🔥
- **Preferred Resale Venues:** eBay (2), Amazon (1), Walmart (1)
---
### 🏷️ [EAN-13: `3017620422003`] Nutella Ferrero Hazelnut Spread (Ferrero)
- **GS1 Verification:** ✅ Valid | **Origin:** France | **Standard:** EAN-13
...

💻 Programmatic Usage

Apify Python Client

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run_input = {
"barcodes": ["3017620422003", "9780132350884"],
"targetRoiPercent": 30,
"estimatedShippingCost": 4.50,
"buyPrices": {
"3017620422003": 2.50
}
}
run = client.actor("gtin-barcode-product-radar").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"Barcode: {item['barcode']} | Best Marketplace: {item['arbitrage']['bestMarketplace']}")

Apify JavaScript / Node.js Client

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('gtin-barcode-product-radar').call({
barcodes: ['3017620422003', '9780132350884'],
targetRoiPercent: 25,
estimatedShippingCost: 4.50
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.table(items.map(i => ({
barcode: i.barcode,
product: i.productName,
valid: i.isValid,
topVenue: i.arbitrage?.bestMarketplace,
score: i.arbitrage?.arbitrageOpportunityScore
})));

⚖️ License

Apache-2.0 License. Open source and production-ready for automated retail intelligence.