OSS Tanbou

build Swift HTTP networking on URLSession with concise requests, retries, uploads, downloads, and TLS pinning

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
42,406
Primary language
Swift
License
MIT
Repository last updated
Oct 1, 2026
On this page

Overview

Alamofire is an HTTP networking library for Swift built on Apple's URLSession. It provides a consistent API for requests and responses, Swift Concurrency, parameter encoding, uploads and downloads, retry policies, validation, authentication, and TLS certificate or public-key pinning.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Compose requests, validation, and Decodable responses with a chainable API

HTTP requests can validate status and content type and then deserialize response data into Decodable models, including async/await support through Swift Concurrency.

Sources: [1][2]

Handle uploads, downloads, streaming, and progress in one networking layer

Dedicated request types cover file/data/multipart uploads, downloads and resume data, progress callbacks, and streamed responses.

Sources: [1][2]

Centralize retries, authentication, and TLS pinning

RequestInterceptor supports adaptation and retry policies, while URLCredential authentication, certificate/public-key pinning, and reachability features help keep networking policy out of individual screens.

Sources: [1]

Best fit

Fits Apple-platform apps that want a shared API client layer

It is useful when mobile or desktop applications have many endpoints and want to avoid scattering URLSession delegate logic, retries, validation, and serialization across features.

Sources: [1]

Before adoption

Version 5.12.2 is a versioning-only release

The 5.12.2 release notes explicitly state that there are no functional changes in this release. Feature evaluation should therefore consider the broader 5.12 line.

Sources: [4]

Linux, Windows, and Android builds are explicitly unsupported

The README lists missing or unreliable functionality on these platforms, including certificate pinning, client certificates, some authentication paths, metrics, and WebSocketRequest, and labels them unsupported.

Sources: [1]

Align Swift/Xcode and deployment targets with the selected release

The 5.12.2 README lists Swift 6.0 / Xcode 16.0 as baseline requirements, while the tagged Package.swift uses Swift tools 6.4. Verify package-resolution compatibility with the project's toolchain.

Sources: [1][3]

Official sources

  1. [1]Alamofire 5.12.2 README(2026-10-03)
  2. [2]Alamofire 5.12.2 usage guide(2026-10-03)
  3. [3]Alamofire 5.12.2 Package.swift(2026-10-03)
  4. [4]Alamofire 5.12.2 release(2026-10-03)
  5. [5]Alamofire MIT license(2026-10-03)
Supplemental curator note

Alamofire is useful for Apple-platform apps that want to standardize retry, validation, serialization, uploads, and downloads without rebuilding URLSession plumbing. Linux, Windows, and Android builds are explicitly unsupported and miss important features such as certificate pinning.

Try it in 3 steps

  1. 1

    Add the package dependency in Xcode

    Enter https://github.com/Alamofire/Alamofire.git and select version 5.12.2.

    File > Add Package Dependencies...
  2. 2

    Add the Alamofire product to the target

    Use the normal Alamofire product unless the application specifically needs dynamic linking.

    Select product: Alamofire
  3. 3

    Send a request

    Verify the response, then define validation, timeout, retry, and authentication policies for production use.

    import Alamofire; AF.request("https://httpbin.org/get").response { print($0) }
Check the official README

Growth

Growth trends · Last 30 days

42,406 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
4
Open PRs
13

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • networking
  • urlsession
  • urlrequest
  • httpurlresponse
  • request
  • response
  • swift
  • xcode
  • certificate-pinning
  • public-key-pinning
  • parameter-encoding
  • alamofire
Stars
42,406
Forks
7,654
Watchers
1,055
Open issues
31
Contributors
248
Owner type
Organization
Primary language
Swift
License
MIT
Repository last updated
Oct 1, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?