{"id":28400387,"url":"https://github.com/giodelabarrera/pokedex-api","last_synced_at":"2026-05-06T18:37:40.879Z","repository":{"id":126025762,"uuid":"280704577","full_name":"giodelabarrera/pokedex-api","owner":"giodelabarrera","description":"Pokédex REST API","archived":false,"fork":false,"pushed_at":"2020-08-03T00:55:07.000Z","size":274,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T09:37:59.306Z","etag":null,"topics":["express","node","pokedex","pokemon","pokemon-api","standardjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giodelabarrera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-07-18T17:22:05.000Z","updated_at":"2020-09-01T06:58:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca4dd849-3749-430e-ba1e-00ca82099fe0","html_url":"https://github.com/giodelabarrera/pokedex-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giodelabarrera/pokedex-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giodelabarrera%2Fpokedex-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giodelabarrera%2Fpokedex-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giodelabarrera%2Fpokedex-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giodelabarrera%2Fpokedex-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giodelabarrera","download_url":"https://codeload.github.com/giodelabarrera/pokedex-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giodelabarrera%2Fpokedex-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266375126,"owners_count":23919525,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["express","node","pokedex","pokemon","pokemon-api","standardjs"],"created_at":"2025-06-01T10:30:14.079Z","updated_at":"2026-05-06T18:37:40.832Z","avatar_url":"https://github.com/giodelabarrera.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e \u003cimg src=\"https://cloud.githubusercontent.com/assets/1094151/17297180/9f2950ca-57d2-11e6-9bd3-d3f15ae7aeb7.png\" width=\"24px\" style=\"vertical-align: middle;\"/\u003e Pokédex API \u003c/h1\u003e\n\nPokédex REST API serving the characters of pokemon.\n\n## Getting started\n\n### Installation\n\n```sh\nnpm i\n```\n\n### Run server\n\n```sh\nnpm start\n```\n\nNow you can make requests to http://localhost:3030\n\n#### Alternative port\n\nYou can start server on other ports with the environment variable:\n\n```sh\nPORT=3034 npm start\n```\n\n\n## Endpoints\n\n### `GET /pokemon`\n\n\n| Name     | Type       | Description                     | Default        |\n| -------- | ---------- | ------------------------------- | -------------- |\n| `query`  | `string`   | Word to search (Number or Name) |                |\n| `types`  | `string[]` | Types                           |                |\n| `sort`   | `string`   | Sort                            | highest_number | a_z | z_a) | lowest_number |\n| `limit`  | `number`   | Number limit for results        | 12             |\n| `offset` | `number`   | Results page index.             | 0              |\n\n**Example**\n\n`/pokemon?query=char\u0026types[]=Fire\u0026sort=lowest_number\u0026limit=12\u0026offset=0`\n\n```json\n{\n  \"total\": 5,\n  \"results\": [\n    {\n      \"id\": 4,\n      \"name\": {\n        \"english\": \"Charmander\",\n        \"japanese\": \"ヒトカゲ\",\n        \"chinese\": \"小火龙\",\n        \"french\": \"Salamèche\"\n      },\n      \"type\": [\"Fire\"],\n      \"base\": {\n        \"HP\": 39,\n        \"Attack\": 52,\n        \"Defense\": 43,\n        \"Sp. Attack\": 60,\n        \"Sp. Defense\": 50,\n        \"Speed\": 65\n      }\n    }\n  ]\n}\n```\n\n### `GET /pokemon/{id or name}`\n\n**Example**\n\n`/pokemon/pikachu` or `/pokemon/25`\n\n```json\n{\n  \"id\": 25,\n  \"name\": {\n    \"english\": \"Pikachu\",\n    \"japanese\": \"ピカチュウ\",\n    \"chinese\": \"皮卡丘\",\n    \"french\": \"Pikachu\"\n  },\n  \"type\": [\"Electric\"],\n  \"base\": {\n    \"HP\": 35,\n    \"Attack\": 55,\n    \"Defense\": 40,\n    \"Sp. Attack\": 50,\n    \"Sp. Defense\": 50,\n    \"Speed\": 90\n  }\n}\n```\n\n## License\n\nMIT © Giorgio de la Barrera\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiodelabarrera%2Fpokedex-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiodelabarrera%2Fpokedex-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiodelabarrera%2Fpokedex-api/lists"}