Blog

Blog, page 12

Guides, changes and notes on getting structured web data into products and AI agents. RSS feed.

  1. Google Trends API in Python: Interest Over Time as JSON

    Call GET /v1/google-trends/interest from Python with requests and get weekly interest over time as JSON for 1 credit per call, with a recorded response.

  2. MCP Server Too Many Tools: Keeping Agent Context Small

    One tool per endpoint for 1,659 endpoints is about 567,000 characters of schema. A 10-step checklist to keep an MCP server's tool list small.

  3. Fetch Incremental Data From an API: Only New Records

    Fetch incremental data from an API: sort newest first, keep a high-water mark or seen-ID set per query, and stop paging early. Python, Craigslist and eBay.

  4. Track Brand Mentions in AI Answers with an API

    A daily Python job that sends fixed prompts to an LLM answers endpoint and Google's AI overview, logs brand mentions and cited domains, at 2 credits per prompt.

  5. Google Patents API: Search Patents and Get Details

    Search Google Patents by keyword, inventor or assignee with one GET call, then fetch full details by patent_id. Both endpoints cost 1 credit per call.

  6. Realestate.com.au API: Australian Listings as JSON

    Search realestate.com.au by location and channel (buy, rent, sold), then open each listing by URL. Parameters, a recorded Sydney response and the cost.

  7. Scheduling Web Data Pulls: Cron, Queues or Workflows

    Cron, a job queue or a workflow engine for recurring API pulls? Compare failure handling and credit cost, with a verdict per team size and a cron script.

  8. Salary Data from Job Sites: Reading Ranges Without Bias

    Glassdoor's salaries endpoint returns p10 to p90 total pay, a currency and a national count. How to read those ranges and the biases of self-reported pay.

  9. Trainline API: Train Times and Fares as JSON

    Trainline's partner API needs a commercial deal. 14 endpoints return stations, journeys and a fares calendar as JSON at 1 credit each, plus a month's fare cost.

  10. AliExpress Product API: Search, Reviews and Shipping

    Chain AliExpress search, product, product-reviews and product-shipping, with every required parameter, at 1 credit per call, and cost a 100-product review pull.

  11. How to Add an MCP Server to Claude Desktop and Cursor

    Add the Perceptlayer MCP server to Claude Desktop or Cursor with an API key header, run a first Google search, and check only successful calls cost credits.

  12. SpareRoom API: UK Room and Flatshare Listings as JSON

    SpareRoom has no public API. GET /v1/spareroom/search returns 100 room listings a page with rent, deposit and availability, at 1 credit per call.