Nivoda + Python + Excel: Automating Market Price Fetching

I built a Python automation script to read diamond inventory from an Excel file, sends queries to the Nivoda API for market prices, and writes the price and price per carat back into the Excel file.
π What It Does
Reads Excel inventory file
Sends a GraphQL query to the Nivoda API for each row
Retrieves
PricePerCarat
andPrice
Writes those back into the same Excel file
Perfect for quick price audits, sourcing decisions, and reducing manual work.
π» Tech Stack
Python
openpyxl
requests
GraphQL
Excel Automation
π¦ Input Format
Columns: B (Shape), D (Weight), E (Color), F (Clarity)
Output Columns: N (Price/ct), O (Total Price)
π§ Code Highlights
Authenticated API token via headers
GraphQL query built dynamically per row
Excel updated live with new pricing
π GitHub
π nivoda-excel-fetcher
β‘ Results
β
Transformed hours of manual filtering
β
Accurate live pricing from Nivoda
β
Reusable and easily extended
π¨βπ» About Me
Iβm a Data Analyst at Sheetal Manufacturing Co.
Currently pursuing MSc in Data Science from Symbiosis.
π Connect with me on LinkedIn
π Letβs Collaborate
If you liked this, feel free to:
Suggest improvements
Drop a comment β Iβd love to connect with fellow automation nerds π
Subscribe to my newsletter
Read articles from satya bolloju directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
