OpenAny
Get API keyAPI Key
APIDataDeveloper

sourceforge logo
SourceForge Download Stats API

Query SourceForge download statistics by project, date range and folder via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as end_date, output, project, and retrieve structured data including reporting day, downloads on that day, country grouping, and operating-system grouping for distribution report, and regional comparison.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

SourceForge Download Stats API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
SourceForge Download Stats API

SourceForge Download Stats API

Choose project by its source name or project URL. start_date and end_date define the reporting window, while path scopes the report to a project folder; retain unknown OS categories in grouped results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: project. Optional: start_date, end_date, path. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · SourceForge download stats API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Distribution report: Keep the date window and folder scope with every saved report.
  • Regional comparison: Compare source country and operating-system groupings.

Returned Data

Field Meaning
by_day[].date Reporting day
by_day[].downloads Downloads on that day
by_country[].country Country grouping
by_country[].downloads Reported downloads for the country
by_os[].os Operating-system grouping

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/sourceforge/v1/download-stats \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode end_date=2026-10-31 \
  --data-urlencode output=json \
  --data-urlencode project=sevenzip \
  --data-urlencode start_date=2026-10-01

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published SourceForge Download Stats API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

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

Request parameters
Project name (as in sourceforge.net/projects/<name>/) or a project link.
Optional parameters (8)
First day, YYYY-MM-DD (default: 29 days before end_date).
Last day, YYYY-MM-DD (default: today).
Only downloads of files in this folder, e.g. 7-Zip.
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

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
SourceForge download stats API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/sourceforge/v1/download-stats
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
projectURL query parametersquerystringYes

Project name (as in sourceforge.net/projects/<name>/) or a project link.

start_dateURL query parametersquerystringNo

First day, YYYY-MM-DD (default: 29 days before end_date).

end_dateURL query parametersquerystringNo

Last day, YYYY-MM-DD (default: today).

pathURL query parametersquerystringNo

Only downloads of files in this folder, e.g. 7-Zip.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.

enum: "json"

recordsURL query parametersquerystringNo

Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • by_country(object | string)[]
    • countrystring
    • downloadsinteger
  • by_day(object | string)[]
    • datestring
    • downloadsinteger
  • by_os(object | string)[]
    • downloadsinteger
    • osstring
  • by_os_by_countryobject
    • Australiaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Bangladeshobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Belgiumobject
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Botswanaobject
      • Androidinteger
      • Windowsinteger
    • Brazilobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Cambodiaobject
      • Androidinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Canadaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Chinaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Cyprusobject
      • Unknowninteger
      • Windowsinteger
    • Czech Republicobject
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Denmarkobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Egyptobject
      • Androidinteger
      • Linuxinteger
      • Unknowninteger
      • Windowsinteger
    • Finlandobject
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Franceobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Germanyobject
      • Androidinteger
      • BSDinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Greeceobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Hong Kongobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Indiaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Indonesiaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Iranobject
      • Androidinteger
      • Unknowninteger
      • Windowsinteger
    • Israelobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Italyobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Japanobject
      • Androidinteger
      • BSDinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Kazakhstanobject
      • Androidinteger
      • Linuxinteger
      • Unknowninteger
      • Windowsinteger
    • Koreaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Netherlandsobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Pakistanobject
      • Androidinteger
      • Linuxinteger
      • Unknowninteger
      • Windowsinteger
    • Russiaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • South Africaobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Spainobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Swedenobject
      • Androidinteger
      • BSDinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Switzerlandobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Syriaobject
      • Androidinteger
      • Linuxinteger
      • Unknowninteger
      • Windowsinteger
    • Taiwanobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Trinidad and Tobagoobject
      • Androidinteger
      • Windowsinteger
    • Turkeyobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • Ukraineobject
      • Androidinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • United Arab Emiratesobject
      • Androidinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • United Kingdomobject
      • Androidinteger
      • BSDinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • United Statesobject
      • Androidinteger
      • BSDinteger
      • Linuxinteger
      • Macintoshinteger
      • Unknowninteger
      • Windowsinteger
    • …string
  • cachedboolean
  • credits_usedinteger
  • end_datestring
  • messagesunknown[]
  • pathstring
  • periodstring
  • projectstring
  • start_datestring
  • top_countrystring
  • top_osstring
  • totalinteger

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official documentation response · Supplier-tr

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 9

    Review these request fields before running. Keep the published provider and request method unchanged.

    project
    Project name (as in sourceforge.net/projects/<name>/) or a project link.
    start_date
    First day, YYYY-MM-DD (default: 29 days before end_date).
    end_date
    Last day, YYYY-MM-DD (default: today).
    path
    Only downloads of files in this folder, e.g. 7-Zip.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
    records
    Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/sourceforge/v1/download-stats?end_date=2026-10-31&output=json&project=sevenzip&start_date=2026-10-01' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "by_country": [
        {
          "country": "China",
          "downloads": 35317
        },
        {
          "country": "United States",
          "downloads": 30283
        },
        "… 185 more"
      ],
      "by_day": [
        {
          "date": "2026-10-01",
          "downloads": 2413
        },
        {
          "date": "2026-10-02",
          "downloads": 2097
        },
        "… 29 more"
      ],
      "by_os": [
        {
          "downloads": 65909,
          "os": "Unknown"
        },
        {
          "downloads": 37687,
          "os": "Windows"
        },
        "… 4 more"
      ],
      "by_os_by_country": {
        "Australia": {
          "Android": 8,
          "Linux": 7,
          "Macintosh": 13,
          "Unknown": 132,
          "Windows": 348
        },
        "Bangladesh": {
          "Android": 15,
          "Linux": 3,
          "Macintosh": 1,
          "Unknown": 24,
          "Windows": 134
        },
        "Belgium": {
          "Linux": 10,
          "Macintosh": 4,
          "Unknown": 173,
          "Windows": 114
        },
        "Botswana": {
          "Android": 1,
          "Windows": 6
        },
        "Brazil": {
          "Android": 41,
          "Linux": 45,
          "Macintosh": 15,
          "Unknown": 139,
          "Windows": 714
        },
        "Cambodia": {
          "Android": 2,
          "Macintosh": 1,
          "Unknown": 7,
          "Windows": 32
        },
        "Canada": {
          "Android": 12,
          "Linux": 15,
          "Macintosh": 34,
          "Unknown": 228,
          "Windows": 619
        },
        "China": {
          "Android": 440,
          "Linux": 46,
          "Macintosh": 28,
          "Unknown": 21477,
          "Windows": 13326
        },
        "Cyprus": {
          "Unknown": 2,
          "Windows": 12
        },
        "Czech Republic": {
          "Linux": 5,
          "Macintosh": 1,
          "Unknown": 1032,
          "Windows": 203
        },
        "Denmark": {
          "Android": 2,
          "Linux": 3,
          "Macintosh": 3,
          "Unknown": 10,
          "Windows": 40
        },
        "Egypt": {
          "Android": 40,
          "Linux": 7,
          "Unknown": 20,
          "Windows": 225
        },
        "Finland": {
          "Linux": 8,
          "Macintosh": 4,
          "Unknown": 37,
          "Windows": 100
        },
        "France": {
          "Android": 102,
          "Linux": 33,
          "Macintosh": 26,
          "Unknown": 290,
          "Windows": 602
        },
        "Germany": {
          "Android": 33,
          "BSD": 3,
          "Linux": 75,
          "Macintosh": 24,
          "Unknown": 2605,
          "Windows": 1387
        },
        "Greece": {
          "Android": 3,
          "Linux": 3,
          "Macintosh": 5,
          "Unknown": 16,
          "Windows": 82
        },
        "Hong Kong": {
          "Android": 4,
          "Linux": 5,
          "Macintosh": 9,
          "Unknown": 223,
          "Windows": 296
        },
        "India": {
          "Android": 102,
          "Linux": 38,
          "Macintosh": 66,
          "Unknown": 888,
          "Windows": 1612
        },
        "Indonesia": {
          "Android": 24,
          "Linux": 15,
          "Macintosh": 1,
          "Unknown": 65,
          "Windows": 337
        },
        "Iran": {
          "Android": 14,
          "Unknown": 7,
          "Windows": 72
        },
        "Israel": {
          "Android": 6,
          "Linux": 3,
          "Macintosh": 3,
          "Unknown": 21,
          "Windows": 79
        },
        "Italy": {
          "Android": 220,
          "Linux": 49,
          "Macintosh": 45,
          "Unknown": 232,
          "Windows": 570
        },
        "Japan": {
          "Android": 52,
          "BSD": 1,
          "Linux": 33,
          "Macintosh": 14,
          "Unknown": 227,
          "Windows": 1021
        },
        "Kazakhstan": {
          "Android": 10,
          "Linux": 3,
          "Unknown": 35,
          "Windows": 91
        },
        "Korea": {
          "Android": 2,
          "Linux": 3,
          "Macintosh": 7,
          "Unknown": 177,
          "Windows": 285
        },
        "Netherlands": {
          "Android": 29,
          "Linux": 9,
          "Macintosh": 3,
          "Unknown": 1655,
          "Windows": 346
        },
        "Pakistan": {
          "Android": 38,
          "Linux": 5,
          "Unknown": 18,
          "Windows": 185
        },
        "Russia": {
          "Android": 70,
          "Linux": 61,
          "Macintosh": 8,
          "Unknown": 408,
          "Windows": 1460
        },
        "South Africa": {
          "Android": 35,
          "Linux": 2,
          "Macintosh": 2,
          "Unknown": 14,
          "Windows": 119
        },
        "Spain": {
          "Android": 29,
          "Linux": 23,
          "Macintosh": 12,
          "Unknown": 73,
          "Windows": 342
        },
        "Sweden": {
          "Android": 3,
          "BSD": 2,
          "Linux": 20,
          "Macintosh": 5,
          "Unknown": 94,
          "Windows": 179
        },
        "Switzerland": {
          "Android": 7,
          "Linux": 9,
          "Macintosh": 6,
          "Unknown": 34,
          "Windows": 167
        },
        "Syria": {
          "Android": 9,
          "Linux": 1,
          "Unknown": 1,
          "Windows": 74
        },
        "Taiwan": {
          "Android": 5,
          "Linux": 5,
          "Macintosh": 15,
          "Unknown": 121,
          "Windows": 259
        },
        "Trinidad and Tobago": {
          "Android": 1,
          "Windows": 6
        },
        "Turkey": {
          "Android": 17,
          "Linux": 6,
          "Macintosh": 6,
          "Unknown": 46,
          "Windows": 182
        },
        "Ukraine": {
          "Android": 20,
          "Linux": 13,
          "Macintosh": 4,
          "Unknown": 165,
          "Windows": 509
        },
        "United Arab Emirates": {
          "Android": 1,
          "Macintosh": 2,
          "Unknown": 10,
          "Windows": 60
        },
        "United Kingdom": {
          "Android": 14,
          "BSD": 4,
          "Linux": 17,
          "Macintosh": 19,
          "Unknown": 768,
          "Windows": 645
        },
        "United States": {
          "Android": 115,
          "BSD": 6,
          "Linux": 234,
          "Macintosh": 256,
          "Unknown": 23722,
          "Windows": 5950
        },
        "…": "147 more fields"
      },
      "cached": false,
      "credits_used": 1,
      "end_date": "2026-10-31",
      "messages": [],
      "path": "",
      "period": "daily",
      "project": "sevenzip",
      "start_date": "2026-10-01",
      "top_country": "China",
      "top_os": "Other",
      "total": 107328
    }

Common questions

Which project identifier is required?

Use project with the name from sourceforge.net/projects/name or the project URL.

What is the default reporting window?

end_date defaults to today; start_date defaults to 29 days before end_date. Both use YYYY-MM-DD.

Can I report only one folder?

Yes. Set path to a project folder such as 7-Zip.

Are downloads unique installations?

No. These are source download counts, not a count of unique users or successful installations. Keep unknown OS classifications intact.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use SourceForge Download Stats API with your agent

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