Swift Package Index Scraper avatar

Swift Package Index Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store
Swift Package Index Scraper

Swift Package Index Scraper

Search the Swift Package Index by keyword or platform for open source Swift packages. Each package returns the name, owner, repository, stars, supported platforms, Swift versions, license, last activity, and score. Useful for dependency research and tracking the Swift ecosystem.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 hours ago

Last modified

Share

ParseForge Banner

🦅 Swift Package Index Scraper

🚀 Export Swift Package Index search results in seconds. Owner, repo, stars, supported platforms, Swift versions, and license.

🕒 Last updated: 2026-06-05 · 📊 12 fields per record · 6,000+ Swift packages · No login required

The Swift Package Index Scraper turns the public swiftpackageindex.com/api/search endpoint into a structured dataset. It paginates a search query and flattens each result's owner, repo, platforms, Swift versions, and license.

🎯 Target Audience💡 Primary Use Cases
🍎 iOS and macOS app teamsVet dependencies before adoption
🛡️ Security teamsAudit licenses and platform support
📊 Ecosystem researchersTrack Swift package adoption
🚀 DevRelBuild Swift package discovery dashboards
🧪 Package authorsBenchmark popularity
👩‍💻 DevelopersDiscover packages by topic

📋 What the Swift Package Index Scraper does

  • Paginates the public search endpoint until the result count or maxItems is hit.
  • Reshapes each hit into a flat record with owner, repository URL, stars, platforms, Swift versions, and license.
  • Filters by supported platform.
  • Pushes a clean diagnostic record on upstream errors.
  • Exports to every Apify dataset format.

💡 Why it matters: Swift Package Index is the canonical front door for the Swift ecosystem. Mirroring its search makes it queryable by SQL or BI tools.

🎬 Full Demo

🚧 Coming soon.

⚙️ Input

FieldTypeRequiredDescription
maxItemsintegerNoFree 10. Paid up to 1,000,000.
searchQuerystringNoForwarded to the SPI search endpoint.
platformFilterenumNoKeep only packages supporting the chosen platform.

Example 1. Search Alamofire family.

{ "searchQuery": "alamofire", "maxItems": 25 }

Example 2. iOS-only networking packages.

{ "searchQuery": "networking", "platformFilter": "ios" }

⚠️ Good to Know: The SPI search endpoint paginates lightly; deep pagination may be capped upstream.

📊 Output

FieldTypeDescription
📦 namestringPackage name.
👤 ownerstringGitHub owner.
🔗 repositorystringGitHub repo URL.
📝 descriptionstringPackage summary.
starsnumberGitHub stars.
🧩 platformsarraySupported platforms.
🦅 swiftVersionsarraySupported Swift versions.
⚖️ licensestringSPDX license short id.
🕒 lastActivitystringLatest commit or release timestamp.
🏅 scorenumberSPI relevance score.
🆔 packageIdstringSPI internal id.
🕒 scrapedAtstringWhen this row was fetched.
errorstringSet on upstream error.
{
"name": "Alamofire",
"owner": "Alamofire",
"repository": "https://github.com/Alamofire/Alamofire",
"stars": 40512,
"platforms": ["ios", "macos", "tvos", "watchos"],
"license": "MIT",
"scrapedAt": "2026-06-05T12:00:00.000Z",
"error": null
}

✨ Why choose this Actor

| 🆓 | Public SPI endpoint, no key required. | | 🧩 | Platform filter at scrape time. | | 🔎 | Free-text search. | | 🛟 | Clean diagnostic records on errors. | | 💾 | Push to dataset for instant export. |

📈 How it compares to alternatives

ApproachSetupPlatform filterAuto export
SPI website searchmanualmanual
Roll your own fetch30 min +manualmanual
This Actor5 sec

🚀 How to use

  1. Click Try for free.
  2. Enter a search query and optional platform filter.
  3. Click Start and download the dataset.

💼 Business use cases

🛡️ License audits. Snapshot every package matching a topic and its license.

📱 App dependency planning. Compare candidate packages side by side.

📊 Ecosystem analytics. Track Swift package counts over time.

🚀 Internal discovery. Drive an internal package picker.

🔌 Automating Swift Package Index Scraper

  • Make and Zapier trigger this actor on a schedule.
  • Cron keeps your mirror fresh.
  • Webhooks notify on completion.
  • Pipe to BigQuery, Snowflake, or Postgres with native integrations.

🌟 Beyond business use cases

🎓 Education. Show students how the Swift ecosystem is structured.

🧪 Personal research. Track your favorite topic.

🤝 Non-profit and open data. Publish an ecosystem dashboard.

🧰 Tinkering. Discover new packages.

🤖 Ask an AI assistant about this scraper

Pop this README into ChatGPT, Claude, or any AI assistant and ask it to map your specific workflow to the actor's inputs.

❓ Frequently Asked Questions

❓ Need an API key? No.

❓ Source? Swift Package Index public search.

❓ Schedule runs? Yes.

❓ Rate limits? Light per-IP throttle.

❓ API or scraping? API.

❓ Schema stability? Stable.

❓ Maximum run? 1,000,000 records on paid plans.

❓ Platform filtering? Yes, at scrape time.

❓ Stars data? Yes, taken from SPI.

❓ Download formats? Any Apify dataset format.

🔌 Integrate with any app

Apify ships native integrations with Make, Zapier, Slack, Discord, Google Drive, Google Sheets, Gmail, Airbyte, Keboola, Telegram, GitHub, and any REST API or webhook endpoint.

ActorWhat it does
ParseForge pub.dev Scoring ScraperDart and Flutter package scores.
ParseForge Vcpkg Ports ScraperC and C++ ports.
ParseForge SPDX Licenses ScraperLicense metadata.
ParseForge OurAirports ScraperGlobal airport database.

💡 Pro Tip: browse the complete ParseForge collection for 900+ production-grade scrapers.


Disclaimer. This actor scrapes only publicly available data. ParseForge is not affiliated with, endorsed by, or sponsored by the Swift Package Index project. Users are responsible for complying with the target site's terms of service and applicable law. Create a free account w/ $5 credit.