{"id":21655861,"url":"https://github.com/thebowja/genshin-db-api","last_synced_at":"2025-10-14T13:35:35.116Z","repository":{"id":62530444,"uuid":"417308136","full_name":"theBowja/genshin-db-api","owner":"theBowja","description":"Web API for retrieving genshin-db data.","archived":false,"fork":false,"pushed_at":"2025-09-12T04:59:22.000Z","size":169,"stargazers_count":18,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T06:30:11.100Z","etag":null,"topics":["api","genshin","genshin-db","genshin-impact"],"latest_commit_sha":null,"homepage":"https://genshin-db-api.vercel.app/","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/theBowja.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-14T23:12:37.000Z","updated_at":"2025-09-12T04:58:10.000Z","dependencies_parsed_at":"2023-11-07T17:41:10.206Z","dependency_job_id":"a6301137-ff18-4718-92b2-4f76bf728e1b","html_url":"https://github.com/theBowja/genshin-db-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theBowja/genshin-db-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theBowja%2Fgenshin-db-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theBowja%2Fgenshin-db-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theBowja%2Fgenshin-db-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theBowja%2Fgenshin-db-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theBowja","download_url":"https://codeload.github.com/theBowja/genshin-db-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theBowja%2Fgenshin-db-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018705,"owners_count":26086609,"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-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["api","genshin","genshin-db","genshin-impact"],"created_at":"2024-11-25T08:37:19.714Z","updated_at":"2025-10-14T13:35:35.081Z","avatar_url":"https://github.com/theBowja.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# genshin-db-api\n \nWeb API for [genshin-db](https://www.npmjs.com/package/genshin-db) using Vercel serverless function.\n\nYou can access v4 style data by switch `/v5` with `/v4`.\n\n## [folder]?query=[query]\nhttps://genshin-db-api.vercel.app/api/v5/characters?query=hutao  \nReturns the search result for the specified folder and query.  \nYou'll have to retrieve stats for characters/talents/weapons using the stats API.\n\nYou may include standard genshindb options as url query parameters (case-sensitive):\n- dumpResult // The query result will return an object with the properties: { query, folder, match, matchtype, options, filename, result }.\n- matchNames // Allows the matching of names.\n- matchAltNames // Allows the matching of alternate or custom names.\n- matchAliases // Allows the matching of aliases. These are searchable fields that returns the data object the query matched in.\n- matchCategories // Allows the matching of categories. If true, then returns an array if it matches.\n- verboseCategories // Used if a category is matched. If true, then replaces each string name in the array with the data object instead.\n- queryLanguages // Comma separated list of languages that your query will be searched in.\n- resultLanguage // Output language that you want your results to be in.\n\nExamples:  \nhttps://genshin-db-api.vercel.app/api/v5/characters?query=hutao  \nhttps://genshin-db-api.vercel.app/api/v5/characters?query=胡桃\u0026queryLanguages=chinese\u0026resultLanguage=chinese  \nhttps://genshin-db-api.vercel.app/api/v5/talents?query=slime\u0026matchCategories=true\u0026queryLanguages=english,jap  \nhttps://genshin-db-api.vercel.app/api/v5/weapons?query=skywardharp\u0026dumpResult=true\u0026resultLanguage=korean\n\n### [folder]?query=names\u0026matchCategories=true\nhttps://genshin-db-api.vercel.app/api/v5/characters?query=names\u0026matchCategories=true  \nReturns a list of names for the specified folder.\n\nYou may also include the option verboseCategories to get a list of data objects instead of a list of names.\n\n## config\nhttps://genshin-db-api.vercel.app/api/v5/config  \nReturns the following:\n- list of folders\n- list of languages\n- the default options used by the api\n- list of category values for each folder\n\nYou can use `resultLanguage` to get category values for other languages.  \nExample:  \nhttps://genshin-db-api.vercel.app/api/v5/config?resultLanguage=spanish  \n\n## folders\nhttps://genshin-db-api.vercel.app/api/v5/folders  \nReturns the list of folders.\n\n## languages\nhttps://genshin-db-api.vercel.app/api/v5/languages  \nReturns the list of languages.\n\n## categories\nhttps://genshin-db-api.vercel.app/api/v5/categories  \nReturns the category values for every folder.\n\nYou can use `resultLanguage` to get category values for other languages.  \nExample:  \nhttps://genshin-db-api.vercel.app/api/v5/categories?resultLanguage=spanish  \n\n## stats?folder=[folder]\u0026query=[query]\nhttps://genshin-db-api.vercel.app/api/v5/stats?folder=characters\u0026query=hutao  \nReturns the stats for every level for the specified folder and query as a JSON map.  \nAscended stats are mapped with a '+' like '80+'.  \nOnly for `characters` and `weapons` folder.  \n\nYou may include standard genshindb options as url query parameters (case-sensitive).  \nAdding `dumpResult=true` will allow you to get the data object of the character/weapon being searched.\nYou may include `level` as a query parameter to get the stats for a specific level.  \nExamples:  \nhttps://genshin-db-api.vercel.app/api/v5/stats?folder=characters\u0026query=胡桃\u0026queryLanguages=chinese  \nhttps://genshin-db-api.vercel.app/api/v5/stats?folder=weapons\u0026query=jadespear\u0026level=90  \nhttps://genshin-db-api.vercel.app/api/v5/stats?folder=characters\u0026query=hutao\u0026dumpResult=true  \nhttps://genshin-db-api.vercel.app/api/v5/stats?folder=characters\u0026query=ganyu\u0026level=60+  \n\n## tcgdeckshare/decode?code=[deckcode]\nhttps://genshin-db-api.vercel.app/api/tcgdeckshare/decode?code=A0Bw8TQPARBw8pcPCSBw9cIPDFAg9sgQDAGAAMkQDCGQCdkQDaGQC+MQDrEwDOQQDsAA  \nConverts a tcg deck share code into an array of card share ids.\n\nReturns an object with the properties:\n- `deckcode`\n\n## tcgdeckshare/encode?deck=[cardids]\nhttps://genshin-db-api.vercel.app/api/tcgdeckshare/encode?deck=55,52,23,151,151,194,194,200,200,201,201,217,217,227,227,228,228,241,241,242,242,245,245,246,256,256,258,265,266,267,267,268,268\nConverts a comma-separated array of card share ids into a tcg deck share code.\n\nYou can an `offset` query parameter to generate a different deck share code for the same deck. This is useful for the extremely rare case where the deck share code is invalid because it contains a bad word.\nExample:\nhttps://genshin-db-api.vercel.app/api/tcgdeckshare/encode?offset=1\u0026deck=55,52,23,151,151,194,194,200,200,201,201,217,217,227,227,228,228,241,241,242,242,245,245,246,256,256,258,265,266,267,267,268,268\n\nReturns a string.\n\n## tcgdeckshare/getdata?code=[deckcode]\u0026deck=[cardids]\nhttps://genshin-db-api.vercel.app/api/tcgdeckshare/decode?code=A0Bw8TQPARBw8pcPCSBw9cIPDFAg9sgQDAGAAMkQDCGQCdkQDaGQC+MQDrEwDOQQDsAA  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebowja%2Fgenshin-db-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebowja%2Fgenshin-db-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebowja%2Fgenshin-db-api/lists"}