• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
wolf

wolf

QPAScrape

Public
Like
QPAScrape
Home
Code
2
README.md
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
/
x
/
wolf
/
QPAScrape
/
branch
/
main
/
version
/
11
/
code
/
README.md
/
README.md
Code
/
/
x
/
wolf
/
QPAScrape
/
branch
/
main
/
version
/
11
/
code
/
README.md
/
README.md
Search
8/10/2025
Viewing readonly version of main branch: v11
View latest version
README.md

Quarter Price Auction Scraper API

A JSON API endpoint that intelligently scrapes auction data from quarterpriceauction.com.

Structure

  • index.ts - Main HTTP endpoint with intelligent scraping capabilities

Usage

Make a GET request to the endpoint to receive current auction listings in JSON format.

Endpoints

  • GET / - Returns current auction listings with metadata
  • GET /health - Health check endpoint
  • GET /info - API information and available endpoints
  • GET /debug - Debug endpoint showing HTML structure analysis

Features

  • Intelligent Scraping: Extracts REDUX_DATA from the React application state
  • Multi-source Data: Fetches data from main page and individual auction pages
  • Structured JSON Response: Returns clean, structured auction data
  • Error Handling: Graceful error handling with detailed error messages
  • Caching: 5-minute cache headers for performance
  • Metadata: Includes scraping statistics and data source information

Response Format

{ "timestamp": "2025-08-10T17:51:39.711Z", "totalItems": 5, "items": [ { "title": "August 11 Auction", "auctionUrl": "https://www.quarterpriceauction.com/auctions/30125-august-11-auction", "currentBid": "$120.00", "description": "Optional description", "timeLeft": "Optional time remaining", "imageUrl": "Optional image URL" } ], "metadata": { "reduxDataFound": true, "auctionUrlsFound": 6, "scrapedAuctions": 5 } }

Technical Details

  • Extracts application state from window.REDUX_DATA
  • Discovers auction URLs from HTML structure
  • Fetches individual auction pages for detailed data
  • Handles both static HTML and dynamic React content
  • Limits concurrent requests to prevent rate limiting
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.