OEIS Integer Sequences Scraper avatar

OEIS Integer Sequences Scraper

Pricing

from $9.00 / 1,000 result items

Go to Apify Store
OEIS Integer Sequences Scraper

OEIS Integer Sequences Scraper

Scrapes OEIS integer sequences by search query, A-number list, or keyword filter. Returns each sequence as a flat row with optional comments, formulas, and extended terms.

Pricing

from $9.00 / 1,000 result items

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

ParseForge

OEIS Integer Sequences Scraper

Scrape OEIS integer sequences by search term, A-number, or keyword, up to a million per run. Every sequence comes with its terms, name, and optional comments, formulas, references, and programs. Export to CSV, JSON, Excel, or XML.

The OEIS (On-Line Encyclopedia of Integer Sequences) holds over 350,000 curated integer sequences, but browsing the website means clicking through pages one at a time. This Actor reads the public search and detail pages directly, filters by author or keyword, and returns each match in one fixed schema. No API key or registration needed.

Who uses itWhat they scrape OEIS for
MathematiciansPull a batch of sequences that share a keyword or author for offline analysis.
Data scientistsBuild a local dataset of integer sequences to train a sequence-completion model.
Recreational math enthusiastsGrab the latest 'nice' or 'core' sequences to explore patterns.
Academic researchersCollect all sequences by a specific contributor to study their body of work.

What it does

This Actor collects OEIS integer sequences by search query, A-number list, or keyword filter, and returns each one as a flat row.

  • 🔍 Search by name: free-text query across the sequence index, with multi-word AND matching.
  • 🆔 Direct A-number lookup: pull one or many sequences by their exact A-number, like A000045.
  • 🏷️ Keyword filter: restrict results to sequences tagged 'core', 'nice', 'easy', 'hard', and 30 other OEIS keywords.
  • ✍️ Author filter: case-insensitive substring match on the sequence author field.
  • 📊 Enriched details: optionally fetch comments, references, formulas, programs, and the full author name.
  • 📈 Extended terms: replace the default ~80 terms with the full term list, often hundreds or thousands of integers.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with OEIS data

🔢 Build a local OEIS mirror.

A researcher runs the Actor with maxItems set to 1,000,000 and no filters to download the entire public index for offline querying.

🧪 Collect training data for a sequence model.

A data scientist scrapes all 'core' and 'nice' sequences with extended terms to create a dataset for a machine learning model that predicts the next integer.

📚 Study one author's contributions.

A math historian filters by author 'Sloane' and fetches details to compile a bibliography of sequences submitted by the OEIS founder.

🎯 Pull a specific set of sequences by A-number.

A teacher pastes a list of A-numbers from a lesson plan and collects the terms and names for a classroom handout.

Why choose this scraper

What you get
Batch collectionPull up to a million sequences in one run instead of clicking through the website.
Fixed schemaEvery sequence lands as a flat row with the same fields, ready for analysis.
Optional enrichmentAdd comments, formulas, and programs only when you need them, saving time on large runs.
Flexible inputSearch by name, fetch by A-number, or filter by keyword and author in any combination.

How it compares

No other Store actor targets OEIS the same way, so the honest comparison is with the alternatives teams actually weigh.

OEIS Integer Sequences ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When OEIS changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor from a search query, a list of A-numbers, or both, and apply keyword and author filters as each sequence is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"searchQuery": "fibonacci"
}

A larger pull:

{
"maxItems": 200,
"searchQuery": "fibonacci"
}

Pricing

Pay-per-result: $0.012 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$1.20
1,000 results$12.00
10,000 results$120.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the OEIS Integer Sequences Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to OEIS through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/oeis-integer-sequences-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that your search query or A-number list is not empty. If you are using keyword or author filters, try removing them to see if results appear. Also verify that the A-number format is correct, like A000045.

Why are some sequences missing comments or formulas even with Fetch Details on?

Not every OEIS entry has comments, formulas, or programs. The Actor returns whatever is present on the detail page. An empty field means the sequence author did not provide that content.

The run is taking a long time with Fetch Details enabled.

Fetch Details adds one request per sequence. For large runs, disable it and only enable it for smaller, targeted collections. You can also reduce the Maximum Sequences count.

My keyword filter returns fewer sequences than expected.

Keyword filters use AND logic. If you select 'core' and 'nice', only sequences tagged with both keywords are returned. Try selecting fewer keywords to broaden the results.

FAQ

QuestionAnswer
How do I get a single sequence by its A-number?Set the A-Number List field to the exact A-number, like A000045. That overrides any search query and returns only that sequence.
What is the difference between terms and extended terms?By default the Actor returns about 80 terms. When you enable Extended Terms, it fetches the full term list, which can be hundreds or thousands of integers long.
Does Fetch Details slow down the run?Yes, it adds one extra request per sequence to load the detail page. For large runs, leave it off unless you need comments, formulas, or programs.
Can I filter by more than one keyword?Yes, select multiple keywords in the Sequence Keywords list. Only sequences that match all selected keywords are returned.
How do I search for sequences about prime numbers?Enter 'prime' in the Search Term field. Multi-word queries like 'prime numbers' are AND-matched, so both words must appear in the sequence name.
What output formats are supported?You can export your dataset to CSV, JSON, Excel, or XML from the Apify platform after the run finishes.
Is there a rate limit on the OEIS website?The Actor respects the public website's structure and paces requests to avoid overloading the server. No API key is required.
Can I get sequences that were recently added or changed?Yes, select the 'new' or 'changed' keyword in the Sequence Keywords filter to target recently updated entries.
What happens if I set both a search query and an A-number list?The A-Number List takes priority and the search query is ignored. Use one or the other for predictable results.
How many sequences can I collect in one run?You can set the Maximum Sequences field up to 1,000,000. The actual number collected depends on how many match your filters.

Browse the full ParseForge collection for more scrapers.

🆘 Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by OEIS Foundation Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.