Skip to main content
POST
/
api
/
sourceforge
/
projects
/
downloads
/sourceforge/projects/downloads
curl --request POST \
  --url https://api.anysite.io/api/sourceforge/projects/downloads \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "project": "<string>",
  "timeout": 300,
  "start_date": "2025-01-01",
  "end_date": "2025-01-31"
}
'
[
  {
    "@type": "SourceforgeDownloadStats",
    "total": 0,
    "period": "",
    "start_date": "",
    "end_date": "",
    "stats_updated_at": 123,
    "last_period_incomplete": false,
    "top_country": "<string>",
    "top_country_percent": 123,
    "top_os": "<string>",
    "top_os_percent": 123,
    "daily": [],
    "countries": [],
    "operating_systems": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
project
string
required

Project shortname/slug or a SourceForge project URL

Minimum string length: 1
Examples:

"sevenzip"

"https://sourceforge.net/projects/sevenzip/"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
start_date
string | null

Range start date in YYYY-MM-DD format. Defaults to 30 days before end date.

Example:

"2025-01-01"

end_date
string | null

Range end date in YYYY-MM-DD format. Defaults to today.

Example:

"2025-01-31"

Response

Successful Response

@type
string
default:SourceforgeDownloadStats
total
integer
default:0
period
string
default:""
start_date
string
default:""
end_date
string
default:""
stats_updated_at
integer | null
last_period_incomplete
boolean
default:false
top_country
string | null
top_country_percent
number | null
top_os
string | null
top_os_percent
number | null
daily
object[]
countries
object[]
operating_systems
object[]