The Stack Exchange API at https://api.stackexchange.com/2.3 covers Stack Overflow and every other Stack Exchange site; pick one with site. Responses are gzipped (curl and browsers decompress them).
None for reading: 300 requests a day per IP without a key. A free app key raises that to 10,000.
Full reference: https://api.stackexchange.com/docs
curl "https://api.stackexchange.com/2.3/questions?order=desc&sort=votes&tagged=curl&site=stackoverflow&pagesize=2"
{
"items": [
{
"tags": [
"json",
"rest"
],
"owner": {
"account_id": 205049,
"reputation": 76219,
"user_id": 453596,
"user_type": "registered",
"accept_rate": 76,
"profile_image": "https://i.sstatic.net/leAsu.jpg?s=256",
"display_name": "kamaci",
"link": "https://stackoverflow.com/users/453596/kamaci"
},
"is_answered": true,
"view_count": 4930208,
"protected_date": 1431514152,
"accepted_answer_id": 7173011,
"answer_count": 31,
"score": 3968,
"last_activity_date": 1767473899,
"creation_date": 1314175871,
"last_edit_date": 1742005955,
"question_id": 7172784,
"content_license": "CC BY-SA 4.0",
"link": "https://stackoverflow.com/questions/7172784/how-do-i-post-json-data-with-curl",
"title": "How do I POST JSON data with cURL?"
},
{
"tags": [
"php",
"curl"
],
"owner": {
"account_id": 87055,
"reputation": 48911,
"user_id": 241654,
"user_type": "registered",
"accept_rate": 74,
"profile_image": "https://www.gravatar.com/avatar/23efd8fa757f521bb602c8fc1d47b176?s=256&d=identicon&r=PG",
"display_name": "CodeOverload",
"link": "https://stackoverflow.com/users/241654/codeoverload"
},
"is_answered": true,
"view_count": 2127150,
"protected_date": 1374426778,
"accepted_answer_id": 2068371,
"answer_count": 31,
"score": 2857,
"last_activity_date": 1740473299,
"creation_date": 1263512064,
"last_edit_date": 1609377543,
"question_id": 2068344,
"content_license": "CC BY-SA 4.0",
"link": "https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api",
"title": "How do I get a YouTube video thumbnail from the YouTube API?"
}
],
"has_more": true,
"quota_max": 300,
"quota_remaining": 298
}
intitle matches words in the title.
curl "https://api.stackexchange.com/2.3/search?order=desc&sort=relevance&intitle=cors&site=stackoverflow&pagesize=2"
{
"items": [
{
"tags": [
"node.js",
"express"
],
"owner": {
"account_id": 456584,
"reputation": 8390,
"user_id": 855425,
"user_type": "registered",
"profile_image": "https://www.gravatar.com/avatar/955f2f84064263e45a512ee48e53fb3e?s=256&d=identicon&r=PG",
"display_name": "mikong",
"link": "https://stackoverflow.com/users/855425/mikong"
},
"is_answered": true,
"view_count": 936744,
"protected_date": 1509091450,
"accepted_answer_id": 8572637,
"answer_count": 39,
"score": 773,
"last_activity_date": 1735143512,
"creation_date": 1313427203,
"last_edit_date": 1560769089,
"question_id": 7067966,
"content_license": "CC BY-SA 4.0",
"link": "https://stackoverflow.com/questions/7067966/why-doesnt-adding-cors-headers-to-an-options-route-allow-browsers-to-access-my",
"title": "Why doesn't adding CORS headers to an OPTIONS route allow browsers to access my API?"
},
{
"tags": [
"ajax",
"html"
],
"owner": {
"account_id": 241380,
"reputation": 14836,
"user_id": 512155,
"user_type": "registered",
"accept_rate": 100,
"profile_image": "https://i.sstatic.net/kNnH6.jpg?s=256",
"display_name": "Jan Groth",
"link": "https://stackoverflow.com/users/512155/jan-groth"
},
"is_answered": true,
"view_count": 140916,
"protected_date": 1492107567,
"accepted_answer_id": 16945321,
"answer_count": 9,
"score": 567,
"last_activity_date": 1783768157,
"creation_date": 1363166170,
"last_edit_date": 1712769351,
"question_id": 15381105,
"content_license": "CC BY-SA 4.0",
"link": "https://stackoverflow.com/questions/15381105/what-is-the-motivation-behind-the-introduction-of-preflight-cors-requests",
"title": "What is the motivation behind the introduction of preflight CORS requests?"
}
],
"has_more": true,
"quota_max": 300,
"quota_remaining": 298
}
curl "https://api.stackexchange.com/2.3/users/22656?site=stackoverflow"
{
"items": [
{
"badge_counts": {
"bronze": 9362,
"silver": 9321,
"gold": 895
},
"collectives": [
{
"role": "member"
}
],
"account_id": 11683,
"is_employee": false,
"last_modified_date": 1789478427,
"last_access_date": 1790183278,
"reputation_change_year": 8016,
"reputation_change_quarter": 1490,
"reputation_change_month": 350,
"reputation_change_week": 160,
"reputation_change_day": 30,
"reputation": 1529830,
"creation_date": 1222430705,
"user_type": "registered",
"user_id": 22656
}
],
"has_more": false,
"quota_max": 300,
"quota_remaining": 298
}