Blog
Blog, page 16
Guides, changes and notes on getting structured web data into products and AI agents. RSS feed.
Google Hotels API: Hotel Prices for Your Dates as JSON
One GET to /v1/google-hotels/search returns Paris hotels with nightly rate, total rate and rating for your dates as JSON. Parameters, a response and cost.
Google Shopping API: Product Prices and Offers as JSON
One GET to /v1/google-shopping/search returns product titles, sellers, prices and ratings as JSON. Parameters, a response and the cost of 500 products a day.
Brave Search API: Official Plans or One Multi-Source Key
Brave's official Search API has freshness, country and Goggles filters. When it fits, and when one key for Brave, Google and Bing at 1 credit a query wins.
Normalise Prices Across Currencies and Sources in Python
Parse '162,90 €' and $89.99 into Decimals, tag each price with its currency, convert with a dated ECB reference rate, and keep the original value for audit.
AutoTrader UK API: Get Used Car Listings as JSON
Search UK used car listings by postcode, make and price with one GET call. Real BMW response, 6 endpoints, 1 credit per call, failed calls free.
Cache API Responses in Python: TTLs and Credit Savings
A SQLite cache for API responses, keyed on endpoint and parameters, with per-endpoint TTLs and the credits each cache hit saves.
Walmart Product Search API: Prices and Product Data
Search Walmart by keyword and get price, rating, seller and stock as JSON with GET /v1/walmart/search. Parameters, a real response and a credit count.
Google Maps Business Data API: Search Places as JSON
One GET to simple-search returns places as JSON: name, rating, review_count, address, phone and business_id. Parameters, a real response, 1 credit per call.
Web Data to a Warehouse: Loading API JSON into Postgres
Land AutoScout24 search JSON in a Postgres JSONB table, flatten it with a view, then upsert on listing_id. Code and credit cost per refresh.
Mercado Libre API: Category Prices and Reviews as JSON
Pull Mercado Libre best sellers and offers by category as JSON: price, previous price, shipping and reviews, at 1 credit per call.
News Data for Event Detection: Signals and Noise
Turn news search results into event signals: drop duplicate URLs, cluster syndicated titles, count distinct sources in a window, and compare with a baseline.
Scraper or API: What Maintaining a Scraper Really Involves
What a scraper costs to keep running: selector fixes, proxies, retries and monitoring, set against an API at 1 credit per successful call.