# agraboso/redux-api-middleware

Redux middleware for calling an API.

Repository: https://github.com/agraboso/redux-api-middleware
Canonical: https://ross.abutalabs.com/products/redux-api-middleware
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-01-03T18:59:46+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4034, "days_push": 1338, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1472, forks 192 (observed 2026-08-28T04:04:49.518650+00:00)

## What it is
Redux middleware for calling APIs using Redux Standard API-calling Actions (RSAAs). It intercepts RSAA actions and dispatches Flux Standard Actions for request, success, and failure lifecycle states.

## Use cases
- call REST APIs from Redux actions
- dispatch request/success/failure actions for API calls
- manage async API call lifecycle in Redux store
- standardize API error handling in Redux
- fetch JSON endpoints with Redux middleware

## When to choose
- you use Redux and want declarative API call actions
- you need consistent request/success/failure action patterns
- you want lightweight middleware around fetch for Redux

## When to avoid
- you use Redux Toolkit with RTK Query or createAsyncThunk
- your app does not use Redux
- you need GraphQL or caching features

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware, http-client, state-management
- domain: web-development, frontend, apis
- platform: browser
- tags: redux, redux-middleware, flux-standard-actions, api-calls, fetch, nodejs, javascript

## Member repositories
- agraboso/redux-api-middleware (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.518650+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-30T04:34:40.356509+00:00, confidence not recorded.
  - readme: https://github.com/agraboso/redux-api-middleware (fetched 2026-08-28T04:04:49.518650+00:00, sha 3e191933dd0a)
  - registry_npm: https://registry.npmjs.org/redux-api-middleware (fetched 2026-08-29T11:42:40.012587+00:00, sha 2a372a82019f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
