glassnode-php is an unofficial, framework-agnostic PHP 8.1+ SDK for the Glassnode Basic API with typed resources, a generic metric API, Laravel integration, and automatic retry/rate-limit handling.

Stars

5

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It turns the entire documented Glassnode metric surface into discoverable PHP method calls, reducing HTTP boilerplate and adding production-oriented features like metadata discovery, immutable config, PSR-18 support, and rate-limit-aware retries.

Who it is for

  • PHP developers working with on-chain data
  • Laravel developers building crypto dashboards
  • Quant/analytics teams needing Glassnode metrics in PHP
  • Symfony or framework-agnostic PHP projects using PSR-18 clients

Use cases

  • Fetch BTC/ETH market metrics such as price, OHLC, MVRV, and realized cap
  • Monitor network health via active addresses, hash rate, and supply
  • Discover metric parameters and available assets at runtime via metadata API
  • Build Laravel dashboards using facade/DI and published config

Strengths

  • 25 typed category resources covering all documented endpoint categories plus generic API for future metrics
  • Automatic retry on 429 with x-rate-limit-reset support and exponential backoff; rich exception hierarchy
  • Framework-agnostic core with first-class Laravel bridge, PSR-18 compatible, zero-dependency cURL transport
  • Header-based auth by default and immutable config improve API key safety and request consistency

Considerations

  • Unofficial SDK, not affiliated with or endorsed by Glassnode
  • Requires a Glassnode account/API key; usage consumes data credits per request
  • PHP 8.1+ and ext-curl/ext-json required; some newer metrics may only work via generic get() until typed wrappers are added

README quick start

Installation

Description

Unofficial PHP 8.1+ SDK for the Glassnode Basic API. Framework-agnostic with a first-class Laravel bridge. 25 typed category resources, generic metric API, runtime metadata discovery, bulk endpoints, automatic 429 retry with backoff, header auth, and a rich exception hierarchy. Not affiliated with Glassnode.

Related repositories

Similar projects matched by category, topics, and programming language.

7-e1even
Featured
7-e1even GitHub avatar

learn-agent

A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.

AI & Machine LearningLarge Language Models
218
xuchonglang
Featured
xuchonglang GitHub avatar

investing-for-beginners

A structured investing guide for Chinese beginners covering US stocks, options, and cryptocurrency, with focus on foundational concepts and risk awareness.

Blockchain & Web3
2,739
deerwork-ai
Featured
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI & Machine LearningLarge Language Models
312