Packagist versions API

Use the Packagist versions API to retrieve published package or extension versions and release metadata. Provide resource name (name); refine the result with release version (version), development-branch inclusion flag (dev). Version entries retain the release number and any date, platform or prerelease details supplied by that ecosystem, so a historical release can be selected before its own package metadata is retrieved. Compare published release numbers and dates, identify prereleases where provided and choose a version for a compatibility review. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Package as vendor/package (monolog/monolog), a `composer require` command or a packagist.org link.
Optional parameters (9)
Only this version, e.g. 3.12.0.
true for development branches (dev-main etc.), false (default) for tagged releases.
Page number (default 1). Pass `next_page` back as `page`; null on the last page.
Versions per page, 1-500 (default 50).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

{
  "cached": false,
  "count": 50,
  "credits_used": 1,
  "dev": false,
  "name": "monolog/monolog",
  "next_page": 2,
  "page": 1,
  "security_advisories": [
    {
      "advisory_id": "PKSA-dmw8-jd8k-q3c6",
      "affected_versions": ">=1.8.0,<1.12.0"
    }
  ],
  "total": 91,
  "versions": [
    {
      "abandoned": null,
      "authors": [
        {
          "homepage": "https://seld.be",
          "name": "Jordi Boggiano",
          "role": null
        }
      ],
      "conflict": {},
      "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
      "dist": {
        "reference": "d7059e4c691d05ea1222b5124bed0f961be46e15",
        "shasum": "",
        "type": "zip",
        "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d7059e4c691d05ea1222b5124bed0f961be46e15"
      },
      "funding": [
        {
          "type": "github",
          "url": "https://github.com/Seldaek"
        },
        {
          "type": "tidelift",
          "url": "https://tidelift.com/funding/github/packagist/monolog/monolog"
        }
      ],
      "homepage": "https://github.com/Seldaek/monolog",
      "keywords": [
        "log",
        "logging",
        "… 1 more"
      ],
      "license": [
        "MIT"
      ],
      "provide": {
        "psr/log-implementation": "3.0.0"
      },
      "published_at": "2026-09-29T19:21:44+00:00",
      "replace": {},
      "require": {
        "php": ">=8.1",
        "psr/log": "^2.0 || ^3.0"
      },
      "require_dev": {
        "aws/aws-sdk-php": "^3.0",
        "doctrine/couchdb": "~1.0@dev",
        "elasticsearch/elasticsearch": "^7 || ^8",
        "ext-json": "*",
        "graylog2/gelf-php": "^1.4.2 || ^2.0",
        "guzzlehttp/guzzle": "^7.4.5",
        "guzzlehttp/psr7": "^2.2",
        "mongodb/mongodb": "^1.8 || ^2.0",
        "php-amqplib/php-amqplib": "~2.4 || ^3",
        "php-console/php-console": "^3.1.8",
        "phpstan/phpstan": "^2",
        "phpstan/phpstan-deprecation-rules": "^2",
        "phpstan/phpstan-strict-rules": "^2",
        "phpunit/phpunit": "^10.5.17 || ^11.0.7",
        "predis/predis": "^1.1 || ^2",
        "psr/clock": "^1.0",
        "rollbar/rollbar": "^4.0",
        "ruflin/elastica": "^7 || ^8",
        "symfony/mailer": "^5.4 || ^6",
        "symfony/mime": "^5.4 || ^6"
      },
      "source": {
        "reference": "d7059e4c691d05ea1222b5124bed0f961be46e15",
        "type": "git",
        "url": "https://github.com/Seldaek/monolog.git"
      },
      "suggest": {
        "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
        "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
        "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
        "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
        "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHand…",
        "ext-mbstring": "Allow to work properly with unicode symbols",
        "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
        "ext-openssl": "Required to send log messages using SSL",
        "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)",
        "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
        "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
        "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
        "psr/clock": "Required to pass a clock to the Logger and control the timestamp of log records",
        "rollbar/rollbar": "Allow sending log messages to Rollbar",
        "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
      },
      "support": {
        "issues": "https://github.com/Seldaek/monolog/issues",
        "source": "https://github.com/Seldaek/monolog/tree/3.12.1"
      },
      "time": "2026-09-29T19:21:12+00:00",
      "type": "library",
      "version": "3.12.1",
      "version_normalized": "3.12.1.0"
    },
    {
      "abandoned": null,
      "authors": [
        {
          "homepage": "https://seld.be",
          "name": "Jordi Boggiano",
          "role": null
        }
      ],
      "conflict": {},
      "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
      "dist": {
        "reference": "72c534fc0ab181ef52d92a68382318631e301608",
        "shasum": "",
        "type": "zip",
        "url": "https://api.github.com/repos/Seldaek/monolog/zipball/72c534fc0ab181ef52d92a68382318631e301608"
      },
      "funding": [
        {
          "type": "github",
          "url": "https://github.com/Seldaek"
        },
        {
          "type": "tidelift",
          "url": "https://tidelift.com/funding/github/packagist/monolog/monolog"
        }
      ],
      "homepage": "https://github.com/Seldaek/monolog",
      "keywords": [
        "log",
        "logging",
        "… 1 more"
      ],
      "license": [
        "MIT"
      ],
      "provide": {
        "psr/log-implementation": "3.0.0"
      },
      "published_at": "2026-09-09T08:46:13+00:00",
      "replace": {},
      "require": {
        "php": ">=8.1",
        "psr/log": "^2.0 || ^3.0"
      },
      "require_dev": {
        "aws/aws-sdk-php": "^3.0",
        "doctrine/couchdb": "~1.0@dev",
        "elasticsearch/elasticsearch": "^7 || ^8",
        "ext-json": "*",
        "graylog2/gelf-php": "^1.4.2 || ^2.0",
        "guzzlehttp/guzzle": "^7.4.5",
        "guzzlehttp/psr7": "^2.2",
        "mongodb/mongodb": "^1.8 || ^2.0",
        "php-amqplib/php-amqplib": "~2.4 || ^3",
        "php-console/php-console": "^3.1.8",
        "phpstan/phpstan": "^2",
        "phpstan/phpstan-deprecation-rules": "^2",
        "phpstan/phpstan-strict-rules": "^2",
        "phpunit/phpunit": "^10.5.17 || ^11.0.7",
        "predis/predis": "^1.1 || ^2",
        "psr/clock": "^1.0",
        "rollbar/rollbar": "^4.0",
        "ruflin/elastica": "^7 || ^8",
        "symfony/mailer": "^5.4 || ^6",
        "symfony/mime": "^5.4 || ^6"
      },
      "source": {
        "reference": "72c534fc0ab181ef52d92a68382318631e301608",
        "type": "git",
        "url": "https://github.com/Seldaek/monolog.git"
      },
      "suggest": {
        "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
        "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
        "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
        "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
        "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHand…",
        "ext-mbstring": "Allow to work properly with unicode symbols",
        "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
        "ext-openssl": "Required to send log messages using SSL",
        "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)",
        "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
        "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
        "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
        "psr/clock": "Required to pass a clock to the Logger and control the timestamp of log records",
        "rollbar/rollbar": "Allow sending log messages to Rollbar",
        "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
      },
      "support": {
        "issues": "https://github.com/Seldaek/monolog/issues",
        "source": "https://github.com/Seldaek/monolog/tree/3.12.0"
      },
      "time": "2026-09-09T08:34:20+00:00",
      "type": "library",
      "version": "3.12.0",
      "version_normalized": "3.12.0.0"
    },
    "… 48 more"
  ]
}

Response result

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • devboolean
  • namestring
  • next_pageinteger
  • pageinteger
  • security_advisoriesobject[]
    • advisory_idstring
    • affected_versionsstring
  • totalinteger
  • versions(object | string)[]
    • abandonednull
    • authorsobject[]
      • homepagestring
      • namestring
      • rolenull
    • conflictobject
    • descriptionstring
    • distobject
      • referencestring
      • shasumstring
      • typestring
      • urlstring
    • fundingobject[]
      • typestring
      • urlstring
    • homepagestring
    • keywordsstring[]
    • licensestring[]
    • provideobject
      • psr/log-implementationstring
    • published_atstring
    • replaceobject
    • requireobject
      • phpstring
      • psr/logstring
    • require_devobject
      • aws/aws-sdk-phpstring
      • doctrine/couchdbstring
      • elasticsearch/elasticsearchstring
      • ext-jsonstring
      • graylog2/gelf-phpstring
      • guzzlehttp/guzzlestring
      • guzzlehttp/psr7string
      • mongodb/mongodbstring
      • php-amqplib/php-amqplibstring
      • php-console/php-consolestring
      • phpstan/phpstanstring
      • phpstan/phpstan-deprecation-rulesstring
      • phpstan/phpstan-strict-rulesstring
      • phpunit/phpunitstring
      • predis/predisstring
      • psr/clockstring
      • rollbar/rollbarstring
      • ruflin/elasticastring
      • symfony/mailerstring
      • symfony/mimestring
    • sourceobject
      • referencestring
      • typestring
      • urlstring
    • suggestobject
      • aws/aws-sdk-phpstring
      • doctrine/couchdbstring
      • elasticsearch/elasticsearchstring
      • ext-amqpstring
      • ext-curlstring
      • ext-mbstringstring
      • ext-mongodbstring
      • ext-opensslstring
      • ext-socketsstring
      • graylog2/gelf-phpstring
      • mongodb/mongodbstring
      • php-amqplib/php-amqplibstring
      • psr/clockstring
      • rollbar/rollbarstring
      • ruflin/elasticastring
    • supportobject
      • issuesstring
      • sourcestring
    • timestring
    • typestring
    • versionstring
    • version_normalizedstring

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Packagist versions API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.