{"id":16170489,"url":"https://github.com/danielwte/ebay-kleinanzeigen-api","last_synced_at":"2025-10-07T18:57:40.710Z","repository":{"id":134808709,"uuid":"603890427","full_name":"DanielWTE/ebay-kleinanzeigen-api","owner":"DanielWTE","description":"This tool acts as an API interface, you can use it to get random listings from Ebay-Kleinanzeigen.de, exact data from specific listings and even views of listings. ","archived":false,"fork":false,"pushed_at":"2025-03-19T00:11:22.000Z","size":35,"stargazers_count":54,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-12T21:10:00.278Z","etag":null,"topics":["api","docker","ebay-api","ebay-kleinanzeigen","nginx","python","scraper","scraper-api"],"latest_commit_sha":null,"homepage":"https://kleinanzeigen-agent.de/features/developer-api","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielWTE.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-19T21:23:25.000Z","updated_at":"2025-05-11T18:41:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"48a9d38b-e632-4215-8ac2-6755480c519b","html_url":"https://github.com/DanielWTE/ebay-kleinanzeigen-api","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"a85ea90361266762841bf3c9cd6aa0f1d703288a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielWTE%2Febay-kleinanzeigen-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielWTE%2Febay-kleinanzeigen-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielWTE%2Febay-kleinanzeigen-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielWTE%2Febay-kleinanzeigen-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielWTE","download_url":"https://codeload.github.com/DanielWTE/ebay-kleinanzeigen-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253823453,"owners_count":21969848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","docker","ebay-api","ebay-kleinanzeigen","nginx","python","scraper","scraper-api"],"created_at":"2024-10-10T03:18:56.866Z","updated_at":"2025-10-07T18:57:35.676Z","avatar_url":"https://github.com/DanielWTE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ebay Kleinanzeigen API\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003eEbay Kleinanzeigen API\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    A powerful API interface for Ebay-Kleinanzeigen.de that enables you to fetch listings and specific data.\n  \u003c/p\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003cb\u003e🚀 Looking for a ready-to-use solution?\u003c/b\u003e\n    \u003cbr /\u003e\n    Try it at \u003ca href=\"https://kleinanzeigen-agent.de/features/developer-api\"\u003e\u003cstrong\u003ekleinanzeigen-agent.de »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    ✓ Automated Search Agents\n    \u003cbr /\u003e\n    ✓ Search \u0026 Detail API\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/DanielWTE/ebay-kleinanzeigen-api/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/DanielWTE/ebay-kleinanzeigen-api/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Getting Started\n\n### Want to skip the setup?\nVisit [kleinanzeigen-agent.de](https://kleinanzeigen-agent.de/features/developer-api) for our hosted solution with additional features and zero configuration required.\n\n### Prerequisites\n- Python 3.12 or higher\n- pip (Python package manager)\n- Playwright\n\n### Installation\n\n1. Clone the repository\n```sh\ngit clone https://github.com/DanielWTE/ebay-kleinanzeigen-api.git\ncd ebay-kleinanzeigen-api\n```\n\n2. Install dependencies\n```sh\npip install -r requirements.txt\nplaywright install chromium\n```\n\n3. Start the API\n```sh\nuvicorn main:app --reload\n```\n\nThe API will be available at `http://localhost:8000`\n\n### API Endpoints\n\n#### 1. Fetch Listings\n**Endpoint:** `GET /inserate`\n\n**Description:** Retrieves a list of listings based on search criteria.\n\n##### Query Parameters:\n- **`query`** *(string, optional)*: The search term (e.g., \"fahrrad\" to search for bicycles).\n- **`location`** *(string, optional)*: The location or postal code to narrow the search (e.g., `10178` for Berlin).\n- **`radius`** *(integer, optional)*: The search radius in kilometers from the specified location (e.g., `5` for a 5 km radius).\n- **`min_price`** *(integer, optional)*: The minimum price in Euros for the listings (e.g., `200` for at least 200 Euros).\n- **`max_price`** *(integer, optional)*: The maximum price in Euros for the listings (e.g., `500` for at most 500 Euros).\n- **`page_count`** *(integer, optional)*: The number of pages to search or return (e.g., `5` for the first 5 pages, default is 1, max: 20 pages).\n\n##### Example Request:\n```http\nGET /inserate?query=fahrrad\u0026location=10178\u0026radius=5\u0026min_price=200\u0026page_count=5\n```\n\n#### 2. Fetch Listing Details\n**Endpoint:** `GET /inserat/{id}`\n\n**Description:** Retrieves detailed information about a specific listing.\n\n##### Path Parameters:\n- **`id`** *(string)*: The unique identifier of the listing to fetch details for.\n\n##### Example Request:\n```http\nGET /inserat/12345\n```\n\n\n### Documentation\n\n#### API Response Format\nAll API endpoints return responses in the following JSON format:\n```json\n{\n  \"success\": true,\n  \"data\": [\n    ...\n  ]\n}\n```\n\nAPI documentation is available at `http://localhost:8000/docs` when running locally.\n\n## License\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwte%2Febay-kleinanzeigen-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielwte%2Febay-kleinanzeigen-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwte%2Febay-kleinanzeigen-api/lists"}