{"id":16956108,"url":"https://github.com/codenix-sv/messari-api","last_synced_at":"2025-09-05T20:35:58.612Z","repository":{"id":56955573,"uuid":"244431783","full_name":"codenix-sv/messari-api","owner":"codenix-sv","description":"Messari.io PHP REST API Client","archived":false,"fork":false,"pushed_at":"2020-03-29T15:17:41.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T12:58:49.918Z","etag":null,"topics":["api-client","messari","messari-api","messari-client","messari-php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenix-sv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-02T17:25:46.000Z","updated_at":"2023-06-13T01:31:46.000Z","dependencies_parsed_at":"2022-08-21T08:20:37.102Z","dependency_job_id":null,"html_url":"https://github.com/codenix-sv/messari-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codenix-sv/messari-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenix-sv%2Fmessari-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenix-sv%2Fmessari-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenix-sv%2Fmessari-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenix-sv%2Fmessari-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenix-sv","download_url":"https://codeload.github.com/codenix-sv/messari-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenix-sv%2Fmessari-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266649033,"owners_count":23962174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","messari","messari-api","messari-client","messari-php"],"created_at":"2024-10-13T22:14:15.338Z","updated_at":"2025-07-23T09:05:12.818Z","avatar_url":"https://github.com/codenix-sv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Messari.io PHP REST API Client\n[![Build Status](https://travis-ci.org/codenix-sv/messari-api.svg?branch=master)](https://travis-ci.org/codenix-sv/messari-api)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/codenix-sv/messari-api/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/codenix-sv/messari-api/?branch=master)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b2c1309440c3aab07502/maintainability)](https://codeclimate.com/github/codenix-sv/messari-api/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/b2c1309440c3aab07502/test_coverage)](https://codeclimate.com/github/codenix-sv/messari-api/test_coverage)\n[![License: MIT](https://img.shields.io/github/license/codenix-sv/messari-api)](https://github.com/codenix-sv/messari-api/blob/master/LICENSE)\n\nA simple REST API client, written with PHP for [messari.io](https://messari.io).\n\nMessari provides free API endpoints for thousands of crypto assets. These endpoints include trades, market data (VWAP), quantitative metrics, qualitative information. This is the same API that drives the [messari.io](https://messari.io) web app.\n\nMost endpoints are accessible without an API key, but rate limited. This is free tier. This free tier does not include redistribution rights and requires attribution and a link back to [messari.io](https://messari.io).\n\nMessari.io [API documentation](https://messari.io/api/docs).\n\n## Requirements\n\n* PHP \u003e= 7.2\n* ext-json\n\n## Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```bash\n$ composer require codenix-sv/messari-api\n```\nor add\n\n```json\n\"codenix-sv/messari-api\": \"^0.1\"\n```\n## Basic usage\n\n### Example\n```php\nuse Codenixsv\\MessariApi\\MessariClient;\n\n$client = new MessariClient();\n\n$data = $client-\u003eassets()-\u003egetAll();\n```\n## Available methods\n\n### Assets\n\n#### getAll\n\nGet the paginated list of all assets and their metrics and profiles.\n\n```php\n$data = $client-\u003eassets()-\u003egetAll();\n```\n\n#### get\n\nGet basic metadata for an asset.\n\n```php\n$data = $client-\u003eassets()-\u003eget('btc');\n```\n\n#### getProfile\n\nGet all of our qualitative information for an asset.\n\n```php\n$data = $client-\u003eassets()-\u003egetProfile('btc');\n```\n\n#### getMetrics\n\nGet all of our quantitative metrics for an asset.\n\n```php\n$data = $client-\u003eassets()-\u003egetMetrics('btc');\n```\n\n#### getMarketData\n\nGet the latest market data for an asset. This data is also included in the metrics endpoint, but if all you need is market-data, use this.\n\n```php\n$data = $client-\u003eassets()-\u003egetMarketData('btc');\n```\n\n#### getTimeseries\n\nRetrieve historical timeseries data for an asset.\n\n```php\n$data = $client-\u003eassets()-\u003egetTimeseries('btc', 'price', ['start' =\u003e '2020-01-01', 'end' =\u003e '2020-01-07', 'interval' =\u003e '1d']);\n```\n\n### Markets\n\n#### getAll\n\nGet the list of all exchanges and pairs that our WebSocket-based market real-time market data API supports.\n\n```php\n$data = $client-\u003emarkets()-\u003egetAll();\n```\n\n#### getTimeseries\n\nRetrieve historical timeseries data for a market.\n\n```php\n$data = $client-\u003emarkets()-\u003egetTimeseries('binance-btc-usdt', 'price', ['start' =\u003e '2020-01-01', 'end' =\u003e '2020-01-07', 'interval' =\u003e '1d']);\n```\n\n### News\n\n#### getAll\n\nGet the latest (paginated) news and analysis for all assets.\n\n```php\n$data = $client-\u003enews()-\u003egetAll();\n```\n\n#### GetForAsset\n\nGet the latest (paginated) news and analysis for an asset.\n\n```php\n$data = $client-\u003enews()-\u003egetForAsset('btc');\n```\n## License\n\n`codenix-sv/messari-api` is released under the MIT License. See the bundled [LICENSE](./LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenix-sv%2Fmessari-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenix-sv%2Fmessari-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenix-sv%2Fmessari-api/lists"}