Swift Package Index Scraper
Pricing
from $19.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 hours ago
Last modified
Categories
Share

🦅 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 teams | Vet dependencies before adoption |
| 🛡️ Security teams | Audit licenses and platform support |
| 📊 Ecosystem researchers | Track Swift package adoption |
| 🚀 DevRel | Build Swift package discovery dashboards |
| 🧪 Package authors | Benchmark popularity |
| 👩💻 Developers | Discover packages by topic |
📋 What the Swift Package Index Scraper does
- Paginates the public search endpoint until the result count or
maxItemsis 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
| Field | Type | Required | Description |
|---|---|---|---|
maxItems | integer | No | Free 10. Paid up to 1,000,000. |
searchQuery | string | No | Forwarded to the SPI search endpoint. |
platformFilter | enum | No | Keep 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
| Field | Type | Description |
|---|---|---|
📦 name | string | Package name. |
👤 owner | string | GitHub owner. |
🔗 repository | string | GitHub repo URL. |
📝 description | string | Package summary. |
⭐ stars | number | GitHub stars. |
🧩 platforms | array | Supported platforms. |
🦅 swiftVersions | array | Supported Swift versions. |
⚖️ license | string | SPDX license short id. |
🕒 lastActivity | string | Latest commit or release timestamp. |
🏅 score | number | SPI relevance score. |
🆔 packageId | string | SPI internal id. |
🕒 scrapedAt | string | When this row was fetched. |
❌ error | string | Set 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
| Approach | Setup | Platform filter | Auto export |
|---|---|---|---|
| SPI website search | manual | manual | ❌ |
| Roll your own fetch | 30 min + | manual | manual |
| This Actor | 5 sec | ✅ | ✅ |
🚀 How to use
- Click Try for free.
- Enter a search query and optional platform filter.
- 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.
🔗 Recommended Actors
| Actor | What it does |
|---|---|
| ParseForge pub.dev Scoring Scraper | Dart and Flutter package scores. |
| ParseForge Vcpkg Ports Scraper | C and C++ ports. |
| ParseForge SPDX Licenses Scraper | License metadata. |
| ParseForge OurAirports Scraper | Global 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.