# ENEM API and SISU(Sistema de Seleção Unificada) (`antonio_cesar/enem-api`) Actor

Extraia e pesquise dados do ENEM e SISU. Obtenha questões do ENEM, gabaritos oficiais, obtenha dados do SISU, incluindo notas de corte, candidatos aprovados, classificação (posição do candidato), situação (aprovado, lista de espera, não aprovado), grau (Bacharelado, Licenciatura ou Tecnólogo).

- **URL**: https://apify.com/antonio\_cesar/enem-api.md
- **Developed by:** [Antônio César](https://apify.com/antonio_cesar) (community)
- **Categories:** Other, Developer tools
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 fetch any questions

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

### What does ENEM SISU API Proxy do?

**ENEM SISU API Proxy** is an Apify Standby Actor that gives you a stable, always-ready HTTP endpoint to query SISU data — courses, cut scores, approved students, course weights, and the import manifest.

### Why use ENEM SISU API Proxy?

Use this Actor when you need SISU data in dashboards, automations, internal tools, or no-code workflows. It is useful for comparing courses by state or institution, tracking cut scores by modality, or checking approved student lists.

### How to use ENEM SISU API Proxy

1. Run the Actor on Apify.
2. Open the Actor container URL from the run output.
3. Call a SISU route and use the returned JSON in your application or workflow.

### Input

#### Main Configuration

| Field | Type | Description |
| --- | --- | --- |
| `dataType` | select | `enem_questions` — ENEM exam questions and answer keys. `sisu` — SISU courses, cut scores, and approved students. |

#### ENEM Questions Parameters

| Field | Type | Description |
| --- | --- | --- |
| `questionMode` | select | `list` — List questions with filters. `search` — Find a specific question by number. |
| `enemYear` | integer | ENEM edition year (e.g. 2024). |
| `questionNumber` | integer | Question number in the exam (1–185). Used only in `search` mode. |
| `language` | select | Foreign language exam option: `ingles` or `espanhol`. |
| `category` | select | Knowledge area: `linguagens`, `ciencias-humanas`, `ciencias-da-natureza`, `matematica`. |

#### SISU Filters and Resources

| Field | Type | Description |
| --- | --- | --- |
| `sisuResource` | select | `courses`, `cut_scores`, `approved_students`, or `manifest`. |
| `sisuYear` | integer | SISU edition year (e.g. 2025). |
| `searchQuery` | string | Course name, university, or keyword (e.g. `Medicina`). |
| `state` | select | Brazilian state (UF) to filter offers (e.g. `BA`, `SP`). |

#### Approved Students Filters

| Field | Type | Description |
| --- | --- | --- |
| `studentName` | string | Student name. |
| `callNumber` | integer | Call number (e.g. `1` for 1st call). |
| `modalityCode` | string | Admission modality or quota code (e.g. `L1`, `AC`). |
| `studentStatus` | string | Candidate status (e.g. `aprovado`, `matriculado`). |

#### Extraction and Pagination Limits

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `maxResults` | integer | `100` | Maximum number of items to save. Use `0` for no limit. |
| `perPage` | integer | `15` | Records per request (max: 100). |
| `maxPages` | integer | `10` | Maximum pages to fetch. Use `0` for all. |

### Output

The Actor returns JSON for each SISU query. Example response:

```json
{
  "data": [
    {
      "id": 123,
      "code": 500012,
      "name": "MEDICINA",
      "university": "UNIVERSIDADE FEDERAL DA BAHIA",
      "campus": "SALVADOR",
      "city": "Salvador",
      "state": "BA"
    }
  ],
  "links": {
    "next": null
  },
  "meta": {
    "current_page": 1,
    "per_page": 20,
    "total": 1
  }
}
```

You can store results in an Apify dataset and download them as JSON, CSV, HTML, or Excel.

Example response for approved student search:

```json
{
  "data": [
    {
      "id": 456,
      "name": "<student name>",
      "course_name": "MEDICINA",
      "university": "UNIVERSIDADE FEDERAL DA BAHIA",
      "state": "BA",
      "year": 2024,
      "modality_code": "1",
      "call_number": 1,
      "score": 782.45,
      "position": 3,
      "status": "aprovado"
    }
  ],
  "links": {
    "next": null
  },
  "meta": {
    "current_page": 1,
    "per_page": 20,
    "total": 1
  }
}
```

### Data table

| Field | Description |
| --- | --- |
| `id` | Internal record ID. |
| `code` | MeuSISU course code. |
| `name` | Course name or approved student name, depending on the query. |
| `university` | Institution name. |
| `state` | Campus UF. |
| `year` | SISU edition year. |
| `modality_code` | Admission modality or quota code. |
| `cut_score` | Cut score for the course and modality. |
| `score` | Approved student score. |

### Pricing / Cost estimation

Standby Actors consume resources while the server is ready and while requests are handled. Small JSON lookups are lightweight, but frequent polling or high concurrency will increase compute usage.

### FAQ, disclaimers, and support

This Actor does not alter the returned data. Make sure your usage complies with applicable Brazilian data rules and privacy expectations. Known limitations depend on upstream data availability and SISU dataset freshness. Use the Issues tab for bug reports or custom solution inquiries.

# Actor input Schema

## `dataType` (type: `string`):

Selecione entre consultar DADOS DE PROVAS ENEM ou DADOS DO SISU.

## `questionMode` (type: `string`):

Escolha entre listar várias questões filtradas ou buscar uma específica por número.

## `enemYear` (type: `integer`):

Ano da edição do ENEM (ex: 2024, 2023, 2010).

## `questionNumber` (type: `integer`):

Número da questão na prova (1 a 185). Usado apenas no modo 'Buscar Questão Específica'.

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

Idioma da prova de opção (questões 91-95). Use 'ingles' ou 'espanhol'.

## `category` (type: `string`):

Filtra questões pela área do ENEM.

## `sisuResource` (type: `string`):

Escolha qual conjunto de dados do SISU consultar.

## `sisuYear` (type: `integer`):

Ano da edição/processo seletivo do SISU (ex: 2025, 2024, 2023).

## `searchQuery` (type: `string`):

Nome do curso, universidade ou palavra-chave (ex: 'Medicina', 'USP').

## `state` (type: `string`):

Selecione o estado para filtrar ofertas e vagas do SISU.

## `studentName` (type: `string`):

Filtra pelo nome do estudante (recurso Estudantes Aprovados).

## `callNumber` (type: `integer`):

Número da chamada do SISU (ex: 1 para 1ª Chamada, 2 para 2ª Chamada).

## `modalityCode` (type: `string`):

Código da modalidade de concorrência/cota (ex: L1, L2, L5, AC).

## `studentStatus` (type: `string`):

Filtra por status do candidato (ex: aprovado, matriculado, suplente).

## `maxResults` (type: `integer`):

Limite máximo absoluto de itens a extrair e salvar no dataset. Use 0 para sem limite.

## `perPage` (type: `integer`):

Quantidade de registros por requisição da API (máx: 100).

## `maxPages` (type: `integer`):

Número máximo de páginas a consultar na API. Use 0 para buscar todas.

## Actor input object example

```json
{
  "dataType": "enem_questions",
  "questionMode": "list",
  "enemYear": 2010,
  "questionNumber": 94,
  "language": "",
  "category": "",
  "sisuResource": "courses",
  "sisuYear": 2025,
  "searchQuery": "Medicina",
  "state": "",
  "studentName": "Maria Silva",
  "callNumber": 1,
  "modalityCode": "L1",
  "studentStatus": "aprovado",
  "maxResults": 100,
  "perPage": 15,
  "maxPages": 10
}
```

# Actor output Schema

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

No description

## `routes` (type: `string`):

No description

## `questions` (type: `string`):

No description

## `courses` (type: `string`):

No description

## `cutScores` (type: `string`):

No description

## `approvedStudents` (type: `string`):

No description

# 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 = {
    "dataType": "enem_questions",
    "questionMode": "list",
    "enemYear": 2010,
    "questionNumber": 94,
    "language": "",
    "category": "",
    "sisuResource": "courses",
    "sisuYear": 2025,
    "searchQuery": "",
    "state": "",
    "studentName": "",
    "modalityCode": "",
    "studentStatus": "",
    "maxResults": 100,
    "perPage": 15,
    "maxPages": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("antonio_cesar/enem-api").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 = {
    "dataType": "enem_questions",
    "questionMode": "list",
    "enemYear": 2010,
    "questionNumber": 94,
    "language": "",
    "category": "",
    "sisuResource": "courses",
    "sisuYear": 2025,
    "searchQuery": "",
    "state": "",
    "studentName": "",
    "modalityCode": "",
    "studentStatus": "",
    "maxResults": 100,
    "perPage": 15,
    "maxPages": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("antonio_cesar/enem-api").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 '{
  "dataType": "enem_questions",
  "questionMode": "list",
  "enemYear": 2010,
  "questionNumber": 94,
  "language": "",
  "category": "",
  "sisuResource": "courses",
  "sisuYear": 2025,
  "searchQuery": "",
  "state": "",
  "studentName": "",
  "modalityCode": "",
  "studentStatus": "",
  "maxResults": 100,
  "perPage": 15,
  "maxPages": 10
}' |
apify call antonio_cesar/enem-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,antonio_cesar/enem-api"
        }
    }
}

```

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/PdVJaayg6kr7EVcdI/builds/55TcU4njqa4tsBReL/openapi.json
