# LigaPokemon Card Price Scraper (`gio21/ligapokemon-scraper`) Actor

Scrape LigaPokemon (Brazil) Pokemon card prices: card name, edition, and minimum, average and maximum marketplace price in BRL. Search by card name for price research and arbitrage.

- **URL**: https://apify.com/gio21/ligapokemon-scraper.md
- **Developed by:** [Gio](https://apify.com/gio21) (community)
- **Categories:** E-commerce
- **Stats:** 35 total users, 5 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## LigaPokemon Card Price Scraper

Extract Pokemon card prices from [LigaPokemon](https://www.ligapokemon.com.br), the largest Pokemon card marketplace in Brazil. Two modes:

- **Aggregated (default):** one record per card with the minimum, average and maximum marketplace price in Brazilian reais (BRL).
- **Seller offers (`includeOffers`):** one record per individual seller listing, with seller name, card condition, language, exact price, and quantity available. Auctions are included with their current bid.

### Features

- Search any Pokemon card or product by name
- Minimum, average and maximum marketplace price (BRL) per card, aggregated across all sellers
- Per-seller offer list with condition (M/NM/SP/MP/HP/D), language, finish/variant (Normal, Foil, Reverse Foil, Pokeball Foil, Master Ball Foil), exact price, quantity, and seller location
- Filter offers by condition and language
- Ideal for price research and cross-market arbitrage

### Input

| Field | Type | Description |
|-------|------|-------------|
| `query` | string | Pokemon card or product to search (e.g. "Charizard ex"). Required. |
| `maxItems` | integer | Max items (cards, or offers in offer mode). `0` = no limit. Default `100`. |
| `includeOffers` | boolean | `true` = one record per seller listing instead of aggregates. Default `false`. |
| `condition` | string | Offer filter: `any`, `M`, `NM`, `SP`, `MP`, `HP`, `D`. Default `any`. |
| `language` | string | Filter by card language (e.g. `english`, `portuguese`). Default `any`. |
| `maxProducts` | integer | Card versions to open for offers (offer mode). Default `10`, max `50`. |
| `proxyConfiguration` | object | Apify Proxy recommended (default). |

#### Example input (aggregated)

```json
{ "query": "Charizard ex", "maxItems": 100 }
```

#### Example input (seller offers, NM Portuguese)

```json
{ "query": "Blaziken ex", "includeOffers": true, "condition": "NM", "language": "portuguese" }
```

### Output

Aggregated mode:

```json
{
  "name": "Charizard ex (056/∞) Scarlet & Violet Promos",
  "priceMin": 136.00,
  "priceAvg": 200.27,
  "priceMax": 280.90,
  "currency": "BRL",
  "source": "ligapokemon",
  "url": "https://www.ligapokemon.com.br/?view=cards/card"
}
```

Offer mode (one record per seller listing):

```json
{
  "name": "Charizard ex",
  "saleType": "marketplace",
  "seller": "Epic Game",
  "sellerCity": "São Paulo",
  "sellerState": "SP",
  "sellerVerified": true,
  "conditionCode": "NM",
  "condition": "Praticamente Nova (NM)",
  "offerLanguage": "english",
  "finish": "Foil",
  "attributes": [],
  "price": 95.00,
  "quantity": 2,
  "currency": "BRL",
  "source": "ligapokemon",
  "url": "https://www.ligapokemon.com.br/?view=cards/card&card=..."
}
```

### Common use cases

- Track Pokemon card prices in the Brazilian market
- Cross-market arbitrage: compare BRL prices here against TCGplayer (USD)
- Price a collection for buying or selling
- Feed pricing dashboards and spreadsheets

### Pricing

Pay per result: a small fee to start the run plus a per-card fee. Errors are never charged.

### FAQ

**What do min, average and max mean?** They are the cheapest, average and most expensive seller offers on the LigaPokemon marketplace for that card.

**Is this affiliated with LigaPokemon?** No. This is an independent tool for extracting publicly available data. Please respect LigaPokemon's terms of service.

# Actor input Schema

## `query` (type: `string`):

Pokemon card or product to search for (e.g. "Charizard ex").

## `language` (type: `string`):

Filter cards by printed language (read from the card title, e.g. (ING), (PT-BR), (JAP)). For fair arbitrage against TCGplayer (US), use English.

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

Maximum number of items to return (cards, or individual offers when 'Include seller offers' is ON). Set 0 for no limit.

## `includeOffers` (type: `boolean`):

When ON, opens each matched card's page and returns one record per individual seller listing (seller name, condition, language, exact price, quantity), instead of one aggregated record per card. Auction listings are included with their current bid. Each offer counts as one result.

## `condition` (type: `string`):

Filter seller offers by card condition. Only used when 'Include seller offers' is ON.

## `maxProducts` (type: `integer`):

How many matched card versions (editions) to open for seller offers. Only used when 'Include seller offers' is ON.

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

Proxy used for requests. A Brazilian residential proxy is required (LigaPokemon blocks foreign IPs via Cloudflare) and is set by default.

## Actor input object example

```json
{
  "query": "Charizard ex",
  "language": "any",
  "maxItems": 100,
  "includeOffers": false,
  "condition": "any",
  "maxProducts": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BR"
  }
}
```

# 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 = {
    "query": "Charizard ex",
    "language": "any"
};

// Run the Actor and wait for it to finish
const run = await client.actor("gio21/ligapokemon-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 = {
    "query": "Charizard ex",
    "language": "any",
}

# Run the Actor and wait for it to finish
run = client.actor("gio21/ligapokemon-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 '{
  "query": "Charizard ex",
  "language": "any"
}' |
apify call gio21/ligapokemon-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gio21/ligapokemon-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/RZtKdsjmEf0j4pMs0/builds/qpqXg6l2uxn83BQBK/openapi.json
