---
title: "Chip Virtual"
description: "API Chip Virtual - Números temporários para ativação rápida de apps"
lang: en
canonical: https://doc.apibrasil.io/apis/creditos/592655a9-ecaf-44b7-a765-99b6741f2dbc
markdown: https://doc.apibrasil.io/apis/creditos/592655a9-ecaf-44b7-a765-99b6741f2dbc.md
source: apibrasil-documentation
---

# Chip Virtual

> API Chip Virtual - Números temporários para ativação rápida de apps

- **Category:** Messaging
- **Billing:** per query, with the Bearer Token only
- **Price:** R$12.90 per query
- **Limit:** 990,000 per month
- **Registration:** CPF or CNPJ
- **Version:** v2
- **Published by:** APIBrasil
- **OpenAPI specification:** https://doc.apibrasil.io/apis/creditos/592655a9-ecaf-44b7-a765-99b6741f2dbc/openapi.json

## How to call

**Base address:** `https://gateway.apibrasil.io/api/v2`

Authentication: the `Authorization: Bearer <token>` header. Nothing else.

## Endpoints (4 endpoints)

**Contents**

1. `POST /chip/virtual/buy`
2. `GET /chip/virtual/activation`
3. `GET /chip/virtual/operators`
4. `GET /chip/virtual/services`

### 1. POST /chip/virtual/buy

API Chip Virtual - Ativação Rápida de Números Temporários

Adquira números virtuais temporários de forma instantânea com o endpoint chip/virtual/buy. Integrando esta solução ao seu sistema via método POST, você adiciona valor ao seu negócio ao permitir a ativação rápida e segura de serviços que exigem verificação telefônica, sem complicações operacionais. O retorno claro e automatizado da API entrega as informações essenciais para uso imediato, tornando perfeita a experiência de onboarding em plataformas digitais, aplicativos de delivery, marketplaces ou redes sociais. Simplifique processos, reduza fraudes e aumente a velocidade das ativações com o Chip Virtual, elevando a experiência do usuário ao nível que seu negócio precisa.

- **Method:** `POST`
- **Address:** `https://gateway.apibrasil.io/api/v2/chip/virtual/buy`
- **Route version:** v2

**Headers**

| Header | Value |
| --- | --- |
| `Content-Type` | `application/json` |
| `Authorization` | `Bearer $APIBRASIL_TOKEN` |

**Request body**

```json
{
  "service": "wa",
  "operator": "claro",
  "activationType": 0,
  "country": "br"
}
```

**In cURL**

```bash
curl -X POST "https://gateway.apibrasil.io/api/v2/chip/virtual/buy" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $APIBRASIL_TOKEN" \
  -d '{"service":"wa","operator":"claro","activationType":0,"country":"br"}'
```

**Sample response, from the catalog**

```json
{
  "user": {
    "first_name": "[omitido]",
    "email": "[omitido]",
    "cellphone": "[omitido]",
    "notification": "yes"
  },
  "balance": "939,200",
  "error": false,
  "message": "Você comprou um número virtual com sucesso!",
  "data": {
    "activationId": "3253948187",
    "phoneNumber": "5542988073673",
    "tax": "R$ 12,90",
    "activationTime": "2025-02-07 23:17:30",
    "activationEndTime": "2025-02-07 23:37:30",
    "activationOperator": "claro"
  }
}
```

### 2. GET /chip/virtual/activation

API Chip Virtual - Ative Serviços com Agilidade e Segurança

Com a API Chip Virtual, você possibilita que seu sistema receba, de maneira rápida e automatizada, o conteúdo de SMS enviados para um número virtual temporário, essencial para a ativação imediata de diversos serviços. Ao integrar o endpoint chip/virtual/activation, sua plataforma passa a oferecer o benefício de receber e processar mensagens SMS em tempo real, acelerando processos de verificação e onboarding de usuários. O retorno claro e estruturado da API garante agilidade ao validar identidades, habilitar contas e autenticar logins, gerando mais valor para negócios que prezam por segurança, praticidade e experiência do cliente. Com poucos passos, sua empresa ganha eficiência operacional e amplia seu portfólio de soluções digitais.

- **Method:** `GET`
- **Address:** `https://gateway.apibrasil.io/api/v2/chip/virtual/activation`
- **Route version:** v2

**Headers**

| Header | Value |
| --- | --- |
| `Content-Type` | `application/json` |
| `Authorization` | `Bearer $APIBRASIL_TOKEN` |

**Request body**

```json
{
  "activationId": 3254028308
}
```

**In cURL**

```bash
curl -X GET "https://gateway.apibrasil.io/api/v2/chip/virtual/activation" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $APIBRASIL_TOKEN"
```

**Sample response, from the catalog**

```json
{
  "error": false,
  "message": "Número virtual encontrado!",
  "data": {
    "activationId": "3254028308",
    "service": "wa",
    "text": "Codigo do WhatsApp: 258-129\nOu toque neste link para verificar seu numero: v.whatsapp.com/258129\nNao compartilhe este codigo\n4sgLq1p5sV6",
    "code": "258129",
    "phoneNumber": "5517991817588",
    "status": "received",
    "receivedAt": "2025-02-07 11:05:16",
    "activationCost": "12.9",
    "activationTime": "2025-02-07 23:53:23",
    "activationEndTime": "2025-02-08 00:13:23",
    "activationOperator": "claro"
  }
}
```

### 3. GET /chip/virtual/operators

API Chip Virtual - Ative Números Temporários com Facilidade

Com a API Chip Virtual, seu sistema ganha agilidade para consultar rapidamente as principais operadoras disponíveis para ativação de números virtuais temporários, otimizando fluxos e ampliando oportunidades de negócio. Ao integrar este endpoint GET, você recebe uma lista completa e atualizada de operadoras em tempo real, tornando o processo de ativação muito mais eficiente para seus clientes. Essa integração rápida oferece flexibilidade e escalabilidade no seu serviço, permitindo habilitar números temporários para autenticação, testes, cadastros e outros usos que demandem comunicação segura e temporária em seu produto digital.

- **Method:** `GET`
- **Address:** `https://gateway.apibrasil.io/api/v2/chip/virtual/operators`
- **Route version:** v2

**Headers**

| Header | Value |
| --- | --- |
| `Content-Type` | `application/json` |
| `Authorization` | `Bearer $APIBRASIL_TOKEN` |

**In cURL**

```bash
curl -X GET "https://gateway.apibrasil.io/api/v2/chip/virtual/operators" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $APIBRASIL_TOKEN"
```

**Sample response, from the catalog**

```json
{
  "error": false,
  "operators": {
    "br": [
      "algartelecom",
      "claro",
      "tim",
      "oi",
      "vivo",
      "correios_celular",
      "nlt",
      "arqia",
      "cellular",
      "links_field"
    ],
    "usa": [
      "tmobile",
      "lycamobile",
      "at_t",
      "moabits",
      "joltmobile",
      "mint_mobile",
      "us_mobile",
      "textnow",
      "boost_mobile",
      "ultra_mobile",
      "hello_mobile",
      "h2o_wireless",
      "physic",
      "cricket_wireless"
    ],
    "uruguai": [
      "claro",
      "antel"
    ],
    "argentina": [
      "movistar",
      "claro",
      "personal",
      "tuenti"
    ],
    "espanha": [
      "lycamobile",
      "lebara",
      "you_mobile",
      "orange",
      "movistar",
      "vodafone",
      "altecom",
      "euskaltel",
      "yoigo",
      "llamaya",
      "tmobile",
      "cube_movil",
      "masmovil",
      "finetwork"
    ],
    "portugal": [
      "vodafone",
      "lycamobile",
      "nos",
      "lebara"
    ]
  }
}
```

### 4. GET /chip/virtual/services

API Chip Virtual - Mais segurança e agilidade na ativação de serviços

Com a API Chip Virtual, você integra facilmente ao seu sistema a capacidade de listar serviços para ativar números temporários, garantindo mais privacidade e comodidade ao seu usuário final. Em uma única chamada GET ao endpoint chip/virtual/services, sua aplicação tem acesso imediato às opções disponíveis para ativação de números virtuais, fundamentais para cadastro e autenticação em diversas plataformas, sem comprometer dados sensíveis. Ganhe eficiência operacional, reduza fraudes e ofereça novas possibilidades de uso, agregando valor ao seu negócio e melhorando a experiência do cliente com segurança e flexibilidade.

- **Method:** `GET`
- **Address:** `https://gateway.apibrasil.io/api/v2/chip/virtual/services`
- **Route version:** v2

**Headers**

| Header | Value |
| --- | --- |
| `Content-Type` | `application/json` |
| `Authorization` | `Bearer $APIBRASIL_TOKEN` |

**In cURL**

```bash
curl -X GET "https://gateway.apibrasil.io/api/v2/chip/virtual/services" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $APIBRASIL_TOKEN"
```

**Sample response, from the catalog**

```json
{
  "error": false,
  "wa": {
    "name": "WhatsApp",
    "price": 12.9
  },
  "tg": {
    "name": "Telegram",
    "price": 9.9
  },
  "tw": {
    "name": "Twitter",
    "price": 8.9
  },
  "wb": {
    "name": "WeChat",
    "price": 5.9
  },
  "tn": {
    "name": "LinkedIN",
    "price": 8.9
  }
}
```

In the sample responses, the fields of the account that generated the sample (`user.first_name`, `user.email`, `user.cellphone`) come out as `[omitido]`. The rest is what the catalog publishes.

## Pitfalls: what an integration gets wrong without warning

Established from the responses the catalog itself publishes. In every one of them the code works on the happy path and fails silently everywhere else:

1. **The error arrives in the BODY, with HTTP 200.**
   The response carries a boolean `error` field and a `message`. Checking only `response.ok` or the HTTP status lets a failure through as a success. ALWAYS check `error === false` before reading `data`.

2. **`balance`, `tax` and `extra_charges.total` are STRINGS in Brazilian format — and the format varies between APIs.**
   Values seen in the catalog: `"154,380"`, `"497,84"`, `"0,000"` and `"0.19"`. Comma in some, dot in another; three decimal places in some, two in another. In JavaScript, `parseFloat("154,380")` returns `154` and drops the cents with no error at all, and `Number("154,380")` returns `NaN`. Write a converter that handles both separators, and never use these fields in a financial decision without converting them.

3. **Every call costs money.**
   Blind retries multiply the bill. Never automatically repeat a 4xx: a bad parameter repeated is still bad, and still charged. Retry only timeouts and 5xx, with exponential backoff and a small attempt ceiling.

4. **HTTP 402 means insufficient balance, and retrying does not fix it.**
   It is the one status that needs a human — a top-up. Treat it as a terminal error with its own message, and do not lump it in with generic 4xx.

5. **`extra_charges` bills on top of the lookup price.**
   When the body asks for add-on services, the response lists each one with its price plus a `total` that is NOT included in the base amount. If you show cost to an end user, add both.

## See also

- OpenAPI specification: https://doc.apibrasil.io/apis/creditos/592655a9-ecaf-44b7-a765-99b6741f2dbc/openapi.json
- API catalog: [API catalog](https://doc.apibrasil.io/apis.md)
- Official SDKs: [Official SDKs](https://doc.apibrasil.io/sdks.md)
- Documentation index: https://doc.apibrasil.io/llms.txt
- HTML version of this page: https://doc.apibrasil.io/apis/creditos/592655a9-ecaf-44b7-a765-99b6741f2dbc
