# Temp Number Scraper · Country filter, inbox links · $0.8/1K (`mlg14/temp-scraper`) Actor

Collect public temporary phone numbers from the Temp Number directory for QA testing, number-pool research and monitoring new inboxes. Filter by country or search term; get inbox links, message counts and recency. $0.8/1K results.

- **URL**: https://apify.com/mlg14/temp-scraper.md
- **Developed by:** [MLG Data](https://apify.com/mlg14) (community)
- **Categories:** Other, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 1,000 results

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?

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

## Temp Number Scraper

Collect the public temporary phone numbers listed on Temp Number and export the directory to CSV or JSON. This Temp Number scraper gathers each visible number, its country, public inbox link, displayed message count, and age label, giving you a structured directory feed without manually browsing pages.

The actor covers the public number catalog. The site's private email service belongs to account-owned rented numbers and requires an account. It does not offer anonymous mailbox creation through the public pages, so this actor does not create email addresses, read messages, or delete inbox items.

### What data can you extract from Temp Number?

Each dataset item represents one phone number from the public directory. The actor reads the fields shown on a directory card and adds the page URL so you can trace where a record came from. Numbers are deduplicated within a run. The dataset is flat, making it straightforward to filter, sort, or join with other tables.

| Field | Description | Example |
| --- | --- | --- |
| `number` | Phone number as printed on the directory card, without a leading plus sign. Keep it as text to preserve every digit. | `32463001474` |
| `country` | Country name displayed beside the number. | `Belgium` |
| `countryCode` | Two-letter code derived from the flag shown on the card, when available. | `BE` |
| `inboxUrl` | Link from the card to the number's public page. The actor does not open the inbox or extract its messages. | `https://temp-number.com/temporary-numbers/belgium/32463001474` |
| `messageCount` | Number of messages the card reported when the directory page was collected. | `3` |
| `addedAgo` | Relative age label displayed on the card. It is a snapshot, not a permanent timestamp. | `24 minutes ago` |
| `isNew` | Whether the card has a NEW badge. This is the site's badge, independent of the age text. | `true` |
| `sourceUrl` | Directory page used to collect the record, including the page number and active filters. | `https://temp-number.com/temporary-numbers/1/50?country=Belgium` |

The number and its country are the primary data. A card can have no age label or no flag code; those fields may then be null. The message count is a displayed count, and it can change after the actor finishes. A public inbox link is included for navigation, but an inbox link is not a promise that a number will remain available or accept a particular service's verification message.

The actor does not add an email address, token, SMS body, sender, or verification code to the dataset. Such values are absent from the public directory cards. Reading public inbox content would also collect communications that people may have sent to shared numbers, so the dataset is intentionally limited to directory metadata.

### How to scrape Temp Number

1. Open the actor input and optionally set **Country** to an exact country name shown in the public directory. Leave it empty to browse all countries.
2. Set **Maximum numbers**. The default is 50, equal to one full directory page. A larger value moves through additional pages.
3. Optionally enter a search term, select the last-24-hours filter, or choose a starting page when you want a later slice of the catalog.
4. Run the actor. It stores one row per unique public number in the default dataset.
5. Open the dataset to inspect rows or download a CSV or JSON export.

For a quick check, keep the default limit. To collect a country-specific batch, set the country and a limit that fits your work. A successful run for Belgium with a 50-number limit returned 50 rows. Those rows included a full phone number, country, country code, public inbox link, displayed message count, and source URL.

The directory can change while a run is in progress. A later run may show new numbers at the front, different message counts, or different age labels. If you need to compare two snapshots, save each run's dataset separately and match records on `number`.

### Input

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `country` | String | Empty | Exact country name used by the directory filter. An empty value covers all countries. |
| `search` | String | Empty | Optional search text for a country name or phone-number fragment. It is passed to the directory's own search form. |
| `new24` | Boolean | `false` | Apply the directory's “New (24h)” filter. This filter controls which cards the site returns. |
| `startPage` | Integer | `1` | Start from this directory page. Each page has up to 50 records. |
| `maxItems` | Integer | `50` | Maximum unique records to save. Set to `0` to continue until the directory stops returning pages. |
| `proxyConfiguration` | Object | Enabled | Connection settings used to reach the public listing. The actor handles session rotation and escalation when challenged. |

A realistic country-specific input is:

```json
{
  "country": "Belgium",
  "maxItems": 50
}
```

A broader catalog input could leave `country` empty and set `maxItems` to `250`. This requests up to five full pages of 50 cards. You can split a larger collection into separate page ranges with `startPage`, but remember that new numbers can shift records between pages. Deduplication applies within a single run; if you merge separate runs, deduplicate by `number` again.

For a very narrow search, `maxItems` is only an upper limit. If the site returns fewer matching numbers, the dataset contains fewer rows. A search with no matches produces no number rows. The actor uses the site's exact country filter rather than guessing a country from the phone prefix, so enter the country name as it appears in the directory.

### Output example

This item came from the successful 50-record Belgium run. The relative age and message count shown here were correct at collection time and will naturally change:

```json
{
  "number": "32463001474",
  "country": "Belgium",
  "countryCode": "BE",
  "inboxUrl": "https://temp-number.com/temporary-numbers/belgium/32463001474",
  "messageCount": 3,
  "addedAgo": "24 minutes ago",
  "isNew": true,
  "sourceUrl": "https://temp-number.com/temporary-numbers/1/50?country=Belgium"
}
```

The item is suitable for a spreadsheet without additional flattening. Keep `number` as a text column: spreadsheet software can otherwise interpret long numeric strings as numbers and alter their formatting. The two URLs serve different purposes. `inboxUrl` points to the number's public page, while `sourceUrl` records the listing page from which the actor extracted the card.

### Use cases

- **Directory snapshots:** Collect the available public numbers for a country on a schedule, then compare snapshots to see which numbers enter or leave the visible directory.
- **Country coverage research:** Export a sample from multiple countries and count how many public number cards are visible in each selected run. The output reflects the pages collected, not a guaranteed measure of all inventory.
- **Availability review:** Check the site's NEW badge and relative age labels to find recently listed numbers. Verify each candidate on the site before relying on it.
- **Catalog cleanup:** Join the result with an internal list of already reviewed numbers using the `number` field, then focus on numbers that are new to your workflow.
- **Link collection:** Save public number-page links in a structured file so staff can open a specific listing without repeatedly navigating the directory.
- **Message-volume overview:** Compare displayed message counts across visible cards. These are directory counters, not a copy of the messages or a live subscription.

Use the catalog as a changing public directory. Public temporary numbers are shared, can be recycled, and may be rejected by services. They are unsuitable for private communications or for accounts where long-term access matters. The actor does not verify whether a number currently receives messages from any particular sender.

### How much does it cost to scrape Temp Number?

The configured rate is **$0.80 per 1,000 dataset results**, or $0.0008 per number delivered. Billing is tied to result items, so a country filter that returns fewer rows produces fewer chargeable results. At that rate, 50 results cost $0.04, 250 results cost $0.20, and 1,000 results cost $0.80. Platform usage is included in this result price.

The input limit helps control spending. A `maxItems` value of 50 caps the run at 50 saved rows; a value of 500 caps it at 500. Setting `maxItems` to zero removes the result cap and lets the actor continue through available listing pages. Use a nonzero cap while evaluating a new filter or country.

Price examples assume each requested result is available. If the directory offers only 37 matching cards, a 50-item limit yields 37 items rather than 50. The price shown here reflects the actor's configured rate at the time this README was written; check the run page for the current charge details.

### Tips for best results

Start with one country and 50 items to check that the output fits your task. The public page offers a country selector and a free-text search box. The actor sends those filter values directly to the directory, so a misspelled country or a search term with no matches can return zero rows. If you need broad coverage, leave both fields empty and increase the item limit.

The site presents up to 50 cards per page. The actor follows numbered pages until it reaches your limit, encounters an empty or short page, or sees only numbers already collected in the run. For large jobs, page movement is possible because fresh numbers can appear ahead of earlier entries. Run-level deduplication prevents duplicate numbers in one dataset, but it cannot freeze a live directory.

The `new24` switch uses the site's own 24-hour filter. It is useful for recent listings, though it may produce fewer than 50 rows even with a 50-item limit. The `isNew` output is the card's visible badge and may not be identical to the behavior of the 24-hour filter. Treat both as site-provided labels.

If a page is challenged, the actor changes proxy sessions and can escalate to a residential connection. This may make a run slower than a simple page download. It does not require you to supply login credentials. Avoid running a very large unbounded job when a smaller, country-specific snapshot answers the question.

To compare results over time, store the run date outside the dataset or use the dataset's run metadata. The `addedAgo` label is relative to collection time. It should not be treated as an ISO timestamp or as an exact creation date. Message counts are also snapshots; another visitor or a new incoming message can change them shortly afterward.

### Limits

The source is a server-rendered public listing. The site does not expose the number cards through the documented account API, and its number sitemap was empty during inspection. The actor therefore reads the page cards. If the site changes its card markup, fields may stop filling or the run may return no records until the extractor is updated.

The directory reported more than ten thousand public numbers during inspection and showed 50 per page when requested. That reported total is live and can change. The actor does not promise full historical coverage, stable ordering, or continued availability of a phone number. A later page may be inaccessible or challenged even if the first page worked.

The site's private email feature is attached to account-owned rented numbers. Address creation, inbox access, and deletion require account access; they are outside this public catalog actor. The actor also does not read SMS content from public inbox pages. Its `messageCount` field is the count displayed in the listing, and `inboxUrl` is only a link.

Fields may be null when the card lacks the corresponding label or flag. A missing country or number prevents a card from becoming a dataset row because either would make the row ambiguous. The actor does not manufacture a country code from the number's prefix. Search and country matching follow the site's filters, which can change independently of the actor.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:

`https://mcp.apify.com?tools=mlg14/temp-scraper`

The actor returns one dataset item per public temporary number (number, country, country code, inbox URL, message count, how long ago it was added). Keep `maxItems` at 20-100 so runs finish quickly.

**Prompt 1:** "List 30 temporary phone numbers from Belgium on Temp Number."

```json
{
  "country": "Belgium",
  "maxItems": 30
}
```

**Prompt 2:** "Find numbers added in the past 24 hours across all countries."

```json
{
  "country": "",
  "new24": true,
  "maxItems": 50
}
```

**Prompt 3:** "Search Temp Number for United Kingdom numbers and give me the first 20."

```json
{
  "country": "United Kingdom",
  "maxItems": 20
}
```

### Frequently asked questions

#### Does this create a temporary email address?

No. This actor lists public temporary phone numbers. The site's private email addresses are tied to account-owned rented numbers. The public directory does not provide the anonymous generate, inbox, and delete operations of a temporary mailbox service.

#### Does this retrieve SMS messages or one-time codes?

No. The dataset contains a public number-page link and a displayed message count. It does not extract sender details, message bodies, codes, or attachments. Open a public page yourself if you need to inspect what the site shows there, and avoid sending sensitive information to shared numbers.

#### Do I need an account or my own proxy?

No account is needed for the public directory. The actor is set up with connection handling and can rotate sessions when the site presents a challenge. An optional proxy setting is available for users with a different connection configuration.

#### How fast is a run?

The successful 50-item check completed as a short single-page run. Larger collections require more page requests, and challenged pages can add retries. Speed depends on the number of pages, the active filters, and the site's response at the time of the run. Use `maxItems` to keep a job predictable.

#### Can I schedule runs and compare changes?

Yes. Save each run's dataset, then compare rows by `number`. A fresh run may contain different numbers or counters because the public directory changes. If you need a time series, record when each run completed alongside the exported rows.

#### Can I export to a spreadsheet?

Yes. Download the dataset as CSV or JSON and import it into a spreadsheet. Set the `number` column to text so leading digits and full phone-number length are preserved. The output has one flat row per number.

#### Why is a field empty or why did I receive fewer results than requested?

A card may omit an age label or a flag, in which case the corresponding field is null. Your country, search, or 24-hour filter can also leave fewer matching numbers than `maxItems`. A challenge or markup change can interrupt access; inspect the run log if a previously working input suddenly returns no rows.

#### Is it legal to use these results?

The actor collects public directory metadata. Check the site's terms and the rules that apply to your use, respect privacy and data-protection obligations, and avoid using shared numbers or associated pages to obtain or misuse personal information. A public listing is not permission to access someone else's private account or communications.

### Integrations

The default dataset can be read programmatically or downloaded for reporting. You can connect a scheduled run to a webhook, an automation workflow, or a spreadsheet import, and use `number` as the stable comparison key between snapshots. Keep the collection limit appropriate for the downstream workflow and retain the source URL when you need to verify a specific row.

### Support

Open an issue on the Issues tab; we reply within 24h and add fields on request.

# Actor input Schema

## `country` (type: `string`):

Only return numbers from this country, using the exact country name shown in the directory. Example: Belgium or United Kingdom. Use it to target one country; leave empty for all countries.

## `search` (type: `string`):

Directory search text matched against country names or phone-number fragments. Example: Canada or 4479. Use it to find a specific number; leave empty to skip searching.

## `new24` (type: `boolean`):

Only include numbers the directory marks as added within the past 24 hours. Allowed values: true or false. Example: true for fresh numbers only. Use true for daily monitoring runs.

## `startPage` (type: `integer`):

Directory page to start from, counting from 1; each page holds up to 50 numbers. Example: 2 skips the first 50 numbers. Leave at 1 to start from the beginning.

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

Stop after this many unique numbers. Example: 50 for a quick sample. Set 0 to continue through all available pages; use 20-100 for tests and agent calls.

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

Proxy settings for access to the public directory. The actor rotates sessions and escalates if challenged.

## Actor input object example

```json
{
  "country": "Belgium",
  "search": "",
  "new24": false,
  "startPage": 1,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `numbers` (type: `string`):

Public directory numbers and their displayed metadata in the default dataset.

# 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 = {
    "country": "Belgium"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/temp-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 = { "country": "Belgium" }

# Run the Actor and wait for it to finish
run = client.actor("mlg14/temp-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 '{
  "country": "Belgium"
}' |
apify call mlg14/temp-scraper --silent --output-dataset

```

## MCP server setup

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