Developer Documentation

Build with the PedalHub API

Access 30,000+ bike listings, store data, and repair services. Build marketplace apps, analytics tools, or custom integrations.

Get API Key

RESTful API

Clean, intuitive endpoints following REST best practices

99.9% Uptime

Enterprise-grade reliability with global CDN distribution

Comprehensive Docs

Detailed documentation with examples in multiple languages

Secure Auth

OAuth 2.0 and API key authentication options

Quick Start

Get started with the PedalHub API in minutes

1

Create an account

Sign up for a free PedalHub account to access the API dashboard.

2

Generate API key

Create an API key from your dashboard. Free tier includes 10,000 requests/month.

3

Start building

Use the API endpoints below to integrate bike data into your application.

API Endpoints

Explore our available endpoints and their responses

GET/v1/bikesList all bikes

Returns a paginated list of bike listings. Supports filtering by category, price, location, and more.

curl -X GET "https://api.pedalhub.com/v1/bikes?category=road&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
GET/v1/bikes/:idGet bike details

Retrieve detailed information about a specific bike listing including specs, seller info, and images.

curl -X GET "https://api.pedalhub.com/v1/bikes/bike_123" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST/v1/listingsCreate a listing

Create a new bike listing. Requires authentication and seller verification.

curl -X POST "https://api.pedalhub.com/v1/listings" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Trek Domane SL 5",
    "category": "road",
    "price": 1899,
    "condition": "excellent"
  }'
GET/v1/storesFind bike stores

Search for bike stores and repair shops by location, services, and ratings.

curl -X GET "https://api.pedalhub.com/v1/stores?lat=37.7749&lng=-122.4194&radius=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Ready to start building?

Get your free API key and start integrating bike data today.