# Alamofire

Elegant HTTP Networking in Swift

Repository: https://github.com/Alamofire/Alamofire
Canonical: https://ross.abutalabs.com/products/alamofire
Language: Swift
License: MIT
License Family: permissive
Topics: networking, urlsession, urlrequest, httpurlresponse, request, response, swift, xcode, certificate-pinning, public-key-pinning, parameter-encoding, alamofire, cocoapods, carthage, swift-package-manager
Last push: 2026-08-03T01:00:57+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 70, longevity 100
- inputs: {"age_days": 4416, "days_push": 31, "days_rel": 121, "gap_med": 39.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 42422, forks 7664 (observed 2026-08-28T04:12:08.769692+00:00)

## What it is
Alamofire is an elegant HTTP networking library for Swift built on top of URLSession, providing chainable request/response handling, parameter encoding, and authentication. It includes component libraries like AlamofireImage and supports certificate and public key pinning.

## Use cases
- make http requests in swift
- upload and download files in ios app
- handle rest api responses in swift
- implement certificate pinning in ios
- encode request parameters for api calls
- add authentication headers to network requests

## When to choose
- you are building an iOS, macOS, or Swift server app that talks to HTTP APIs
- you want a higher-level API over URLSession with response validation and chaining
- you need file uploads/downloads and parameter encoding out of the box

## When to avoid
- you only need a handful of simple requests and prefer zero dependencies
- you are not working in Swift or an Apple/Linux/Windows Swift environment
- you need low-level control over every URLSession detail

## Facets
- artifact type: library
- maturity: stable
- function: http-client, networking, auth, security
- domain: web-development, developer-tools, mobile-development, apis
- platform: windows, cross-platform
- tags: urlsession, http, certificate-pinning, swift-package-manager, cocoapods, request-response, swift, ios, macos, linux

## Member repositories
- Alamofire/Alamofire (main) score 87
- Alamofire/AlamofireImage (plugin) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:08.769692+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:22:42.983801+00:00, confidence not recorded.
  - readme: https://github.com/Alamofire/Alamofire (fetched 2026-08-28T04:12:08.769692+00:00, sha f6554cd98a95)
- Data as of 2026-08-30T08:39:29.467469+00:00.
