PeakPX - Wallpaper Search API

The PeakPX - allows you to search for wallpapers based on provided keywords.

Base URL

"https://openapi-idk8.onrender.com"

Endpoint

GET `/peakpx?search=query&count=20`

Description: Searches for wallpapers on PeakPX based on the specified query and returns a maximum of 20 results.

Query Parameters

  • search (required): The search query to find wallpapers.
  • count (optional, default: 20): The number of results to retrieve (maximum: 50).

Sample Request

GET `https://openapi-idk8.onrender.com/peakpx?search=landscape&count=10`

Sample Response

{
  "api_name": "PeakPX - Wallpaper Search",
  "description": "An API to search wallpapers on PeakPX based on provided keywords.",
  "author": "OpenAPI",
  "query": "landscape",
  "results_count": 10,
  "results": [
    {
      "resolution": "1920x1080",
      "keywords": "landscape, nature, mountains",
      "contentUrl": "https://www.peakpx.com/12345/landscape-mountain-view",
      "imageUrl": "https://www.peakpx.com/12345/landscape-mountain-view.jpg",
      "thumbnailUrl": "https://www.peakpx.com/12345/landscape-mountain-view-thumbnail.jpg",
      "description": "A beautiful landscape with mountain view."
    },
    {
      "resolution": "1280x720",
      "keywords": "landscape, beach, sunset",
      "contentUrl": "https://www.peakpx.com/67890/beach-sunset-view",
      "imageUrl": "https://www.peakpx.com/67890/beach-sunset-view.jpg",
      "thumbnailUrl": "https://www.peakpx.com/67890/beach-sunset-view-thumbnail.jpg",
      "description": "A serene beach sunset scene."
    },
    ...
  ]
}

The response contains wallpaper search results with details like resolution, keywords, URLs, and descriptions.

Error Handling

400 Bad Request: Returned when the required query parameter is missing.

{
  "error": "Search parameter is required."
}

500 Internal Server Error: Returned when there is an issue processing the request.

{
  "error": "Internal server error."
}