# Genshin Impact Data Scraper (`bigibyte/genshin-impact-data-scraper`) Actor

Collect Genshin Impact character and weapon details from public game data. Choose your mode, set a row cap, and instantly export structured data to JSON, CSV, or Excel spreadsheets for team building and research.

- **URL**: https://apify.com/bigibyte/genshin-impact-data-scraper.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Genshin Impact Data Scraper

![Genshin Impact Data Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/genshin-impact-data-scraper-cover.png)

Collect structured **Genshin Impact character and weapon information** with the Genshin Impact Data Scraper. Retrieve character profiles, weapon details, rarity, elemental visions, affiliations, release dates, and other available game metadata. Choose your collection mode, control the number of records, and export organized results in JSON, CSV, Excel, or other supported dataset formats.

### What This Actor Does

The Genshin Impact Data Scraper collects publicly available character and weapon information from the community-maintained genshin-dev database.

Choose from three collection modes:

- **Character List:** Retrieve the available character list and collect detailed information for each character.
- **Character Details:** Collect detailed profiles for specific character slugs or retrieve details for the full character roster when no IDs are provided.
- **Weapon List:** Retrieve the available weapon list and expand each weapon into a detailed record.

The actor organizes collected information into structured dataset records, including identifiers, names, descriptions, rarity, character attributes, weapon information, and other available metadata. It also supports duplicate prevention, request pacing, retry handling, and configurable collection limits.

### Collection Modes

| Mode | Description |
|---|---|
| `characters` | Retrieves the character list and collects individual character details. |
| `character` | Collects details for specified character slugs. If `ids` is empty, it processes the full character list. |
| `weapons` | Retrieves the weapon list and collects individual weapon details. |

### Input Configuration

#### Input Example

```json
{
  "mode": "characters",
  "maxItems": 5,
  "requestDelayMs": 500
}
```

#### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | String | `characters` | Collection mode: `characters`, `character`, or `weapons`. |
| `entityType` | String | `characters` | Optional resource hint. The selected `mode` determines the collection process. |
| `ids` | Array | `[]` | Character slugs to retrieve in character detail mode. An empty array uses the full character list. |
| `maxItems` | Integer | `100` | Maximum number of successful records per run. Hard maximum: 1,000. |
| `requestDelayMs` | Integer | `500` | Delay between requests in milliseconds. |
| `userAgent` | String | `ActorResearch/1.0` | User-Agent value used for requests. |
| `timeoutSecs` | Integer | `300` | Overall actor execution timeout in seconds. |
| `requestTimeoutSecs` | Integer | `30` | Maximum time allowed for an individual request. |
| `proxyConfiguration` | Object | Disabled | Optional proxy configuration. Proxy usage is not required for typical runs. |

### Output Data

The actor returns detailed character or weapon records depending on the selected collection mode.

#### Character Output Example

```json
{
  "slug": "albedo",
  "name": "Albedo",
  "characterTitle": "Kreideprinz",
  "vision": "Geo",
  "weapon": "Sword",
  "gender": "Male",
  "nation": "Mondstadt",
  "affiliation": "Knights of Favonius",
  "rarity": 5,
  "release": "2020-12-23",
  "constellation": "Princeps Cretaceus",
  "birthday": "0000-09-13",
  "characterDescription": "A genius known as the Kreideprinz, he is the Chief Alchemist and Captain of the Investigation Team of the Knights of Favonius.",
  "visionKey": "GEO",
  "weaponType": "SWORD",
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

#### Main Character Fields

| Field | Description |
|---|---|
| `slug` | Unique character slug used to identify the character. |
| `name` | Character name. |
| `characterTitle` | Character title or alternate title, when available. |
| `vision` | Elemental vision, such as Geo, Pyro, or Hydro. |
| `weapon` | Character's weapon category. |
| `gender` | Character gender information provided by the source. |
| `nation` | Associated nation or region. |
| `affiliation` | Character's organization or affiliation. |
| `rarity` | Character rarity. |
| `release` | Character release date. |
| `constellation` | Character constellation name. |
| `birthday` | Character birthday. |
| `characterDescription` | Character description. |
| `visionKey` | Elemental vision identifier. |
| `weaponType` | Weapon category identifier. |
| `scrapedAt` | Timestamp when the record was collected. |

### Use Cases

- **Character Roster Research:** Build structured character catalogs with rarity, vision, weapon type, nation, and affiliation.
- **Team Planning:** Export character information into spreadsheets for team organization and planning tools.
- **Weapon Catalogs:** Collect weapon details and available statistics for game guides and reference databases.
- **Character Slug Lookups:** Retrieve detailed information for selected characters without processing the entire roster.
- **Gaming Applications:** Build character directories, game reference websites, and Genshin Impact data dashboards.
- **Dataset Development:** Create reusable JSON or CSV datasets for research and application development.
- **Scheduled Data Updates:** Run the actor periodically and compare character or weapon information over time.

### Usage and Limits

- **Collection modes:** Supports character list, character detail, and weapon list collection.
- **Character selection:** Use `ids` to retrieve specific character slugs in character detail mode.
- **Full character collection:** Leave `ids` empty to retrieve details for the available character roster.
- **Maximum records:** Up to 1,000 successful records per run.
- **Duplicate handling:** Duplicate slugs are skipped within a run.
- **Data availability:** Some fields may be missing or null depending on the selected resource and the information provided by the source.

### Frequently Asked Questions

**What information can I collect?**

You can collect Genshin Impact character profiles and weapon information, including names, rarity, elemental vision, weapon category, affiliations, release dates, descriptions, and other available metadata.

**Can I collect all character details?**

Yes. Use `character` mode and leave the `ids` array empty. The actor retrieves the character list and expands the available character slugs into detailed records.

**Can I collect only selected characters?**

Yes. Provide the desired character slugs through the `ids` array in `character` mode.

**Does the actor support weapon collection?**

Yes. Select `weapons` mode to retrieve the weapon list and collect individual weapon details.

**Can I export the results to Excel or CSV?**

Yes. Apify datasets support JSON, CSV, Excel, and other available export formats.

**How many records can I collect per run?**

You can collect up to 1,000 successful records per run. Use `maxItems` to control the dataset size.

**Can I schedule automatic collection?**

Yes. Use Apify Schedules to refresh character or weapon datasets at your preferred intervals.

### Related Tools

Explore other BigiByte gaming and digital content scrapers:

- **Valorant Assets Scraper:** Collect agents, weapons, maps, bundles, and related game asset information.
- **HowLongToBeat Scraper:** Retrieve video game information and community statistics.
- **CheapShark Game Deals Scraper:** Collect PC game deals, prices, discounts, and store information.
- **YGOPRODeck Yu-Gi-Oh Cards:** Collect Yu-Gi-Oh! card details, set information, and available market prices.

Need a scraper tailored to your business, research, or data collection workflow? **BigiByte** builds custom web scrapers and data solutions to help you collect, organize, and export structured information efficiently.

Visit [BigiByte](https://bigibyte.com) to explore custom scraping solutions.

### Trademark Notice

Genshin Impact, HoYoverse, and all related names, characters, logos, artwork, and trademarks belong to their respective owners. genshin-dev is a community-maintained project. These names are used only to identify the source and subject of the collected information. Their use does not imply affiliation, sponsorship, endorsement, or partnership.

### Disclaimer

The Genshin Impact Data Scraper is an independent data collection tool. It is not affiliated with, endorsed by, sponsored by, or officially associated with HoYoverse, Genshin Impact, genshin-dev, or their owners. Collected information is provided for research and informational purposes. Users are responsible for reviewing applicable terms, licensing conditions, intellectual property rights, and other requirements before using or redistributing collected data.

### Is Web Scraping Legal?

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Follow applicable privacy laws, including GDPR and CCPA, when collecting or processing personal information.
- **Copyrighted Content:** Character descriptions, artwork, images, and other creative materials may be protected by copyright. Check applicable permissions before reusing or redistributing them.
- **Platform Terms and Rate Limits:** Respect the source's terms, usage restrictions, and reasonable request limits.

This information is provided for general educational purposes only and does not constitute legal advice.

For more information, read Apify's guide: [Is Web Scraping Legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to collect.
• All characters — every character up to maxItems.
• Specific character(s) — filter by ids (slug or display name). If ids is empty, returns all characters.
• All weapons — every weapon up to maxItems.

## `ids` (type: `array`):

Only used when mode is 'Specific character(s)'. Enter character slugs (e.g. albedo) or display names (e.g. Hu Tao). Case-insensitive. Leave empty to return all characters.

## `maxItems` (type: `integer`):

Maximum number of rows to return. Hard limit is 1000.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds. Increase if the data source is slow to respond.

## `timeoutSecs` (type: `integer`):

Overall actor run budget in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave disabled unless your environment requires one.

## Actor input object example

```json
{
  "mode": "characters",
  "ids": [],
  "maxItems": 100,
  "userAgent": "ActorResearch/1.0",
  "requestTimeoutSecs": 30,
  "timeoutSecs": 300,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/genshin-impact-data-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/genshin-impact-data-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call bigibyte/genshin-impact-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/genshin-impact-data-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/q3C6049Xg5JLLXeOA/builds/VqjMwd2wTbpXRbmc9/openapi.json
