Skip to main content

Questions tagged [api]

Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.

Filter by
Sorted by
Tagged with
1 vote
1 answer
106 views

It would make great sense for paged results array property to have a common name, items perhaps. For those writing in languages that support 'generic' constructs, this would simplify the code ...
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
108 views

I'm not sure if I can use Stack Exchange API to build a https://www.gharchive.org like project? I studied the API throttling documentation but I am not sure.
Pan YANG's user avatar
1 vote
1 answer
108 views

When working with the Stack Exchange API I noticed that there is important data (at least for what I thought to do) not available, whether the question, answer or comment was edited or not: { "...
Digital Farmer's user avatar
1 vote
1 answer
78 views

When trying to get a list of questions for the C# tag, the total field was missing. Tried with Python tag and the total was included. /2.2/questions?order=ASC&sort=creation&site=stackoverflow....
joe-gardner's user avatar
1 vote
2 answers
119 views

I didn't find any client.Questions.Add method. So, how do I use the StacMan library to add a new question ? Any sample C# example?
Neha's user avatar
  • 119
1 vote
2 answers
89 views

While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?
Water Cooler v2's user avatar
1 vote
1 answer
80 views

I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
Rakete1111's user avatar
1 vote
1 answer
116 views

I want to query information about the logged-in user using me, and this site parameter is creating some small problems. I am developing a visual studio extension where upon logging in a user will get ...
amit jha's user avatar
  • 834
1 vote
1 answer
64 views

When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
amit jha's user avatar
  • 834
1 vote
1 answer
137 views

I would like to get all questions created and tagged with tag "R" between 2 dates. I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
Leni Ohnesorge's user avatar
1 vote
1 answer
270 views

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=...
Djouuuuh's user avatar
  • 173
1 vote
1 answer
6k views

I'm making an application in C# and I need to both search and post answers, so I need an access token. I found some information, libraries, and code pieces: The authentication guide for the Stack ...
hesam's user avatar
  • 31
1 vote
1 answer
129 views

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
Amal's user avatar
  • 81
1 vote
1 answer
2k views

I am trying to get the list of all user's in JSON format (as provided by the API) (using jQuery jsonp) What I found is: pagesize – The number of collection results to display during pagination. ...
JAVAGeek's user avatar
  • 113
1 vote
2 answers
183 views

Most APIs take a parameter site which must be set to the name of the site your queries are about. For meta.travel or travel. But of course sites have various names, for example gaming.stackexchange....
hippietrail's user avatar
1 vote
1 answer
91 views

It seems that all tags have an internal ID, for instance here on stackapps, the api-v2 tag has ID 2442 which you can only see if you edit the api-v2 tag. As far as I can see none of the APIs expose ...
hippietrail's user avatar
1 vote
1 answer
115 views

I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
Szabolcs's user avatar
  • 315
1 vote
1 answer
518 views

I'm currently using the Stackoverflow API to get a list of detailed user information (via http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" ...
Sascha K.'s user avatar
  • 111
1 vote
1 answer
195 views

I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u import sys sys....
kjakeb's user avatar
  • 113
1 vote
2 answers
334 views

I am looking for an API which helps in fetching all the Questions & Answers from SO and other Stack Exchange sites only on a particular "keyword". Later using XML RPC these questions will be ...
user4203's user avatar
1 vote
1 answer
88 views

When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or ...
Dave DeLong's user avatar
  • 5,264
1 vote
3 answers
175 views

The API /questions page is not returning anything like the list of questions on the actual SO site. This is the first question of the 0.8/questions { "total": 705769, "page": 1, "pagesize": 30,...
Jonathan.'s user avatar
  • 3,108
1 vote
1 answer
92 views

Just wondering: Does the question_id monotonically increase for every new question? Is the question_id unique globally for a deployed app or is it unique in some sub-domain? Is there any relation ...
Alienfluid's user avatar
1 vote
1 answer
5k views

I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error: JSONDecodeError: Expecting value: line 3 column 1 (char 3) Here is my script: ...
Sparkling_Sayena's user avatar
1 vote
1 answer
85 views

I tried to create a 'minimal' filter https://api.stackexchange.com/docs/questions#order=desc&sort=activity&filter=!34JvAEfIUyU-&site=stackoverflow&run=true for the 'question' object, ...
JMP's user avatar
  • 355
1 vote
1 answer
95 views

Is there a way to get all Stack Exchange communities in which a user is active? I mean the list of communities that are displayed on a user's network profile.
Halfbloodprincess's user avatar
1 vote
1 answer
73 views

I just want to get statistic data for specific tags which belong to a specific team. For example, for tags: "abc", I want to know how many users viewed the questions which have the "abc&...
user12842165's user avatar
1 vote
1 answer
1k views

I'm using this code (in an async function): let about = await fetch("https://api.stackexchange.com/2.2/me?order=desc&access_token="+token+"&sort=reputation&site=gaming&...
Penguin's user avatar
  • 113
1 vote
1 answer
81 views

I'm checking how I can embed the search for one project. Basically I want something like this page. With the search I can get the list of questions with all meta data from the search, however the ...
rekire's user avatar
  • 195
1 vote
1 answer
171 views

I started to love the Python black formatter and I want all my code on Stack Overflow to be formatted like that. So I wanted to go over the answers and apply black / blacken-docs, check if anything ...
Martin Thoma's user avatar
1 vote
1 answer
101 views

It looks like that in the question/{ids}/answers documentation, there is a mistake: votes – score Shouldn't this be votes – votes
Luca Bartoletti's user avatar
1 vote
1 answer
177 views

I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
Ramya Sunkara's user avatar
1 vote
1 answer
63 views

I'm trying to get the data of the user's impact. Therefore I used the /2.2/me route and did not found any of this data. Is there any other route that gives this information? I'm also missing the ...
Norbert Bartko's user avatar
1 vote
1 answer
82 views

The /sites route can return site_state. What does site state stand for and which values can it have? The values I found: normal linked_meta open_beta
Norbert Bartko's user avatar
1 vote
1 answer
567 views

I've looked at the API docs. However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc). Example: data....
wy1024's user avatar
  • 11
1 vote
1 answer
113 views

My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:         /2.2/users/2855348/associated?types=meta_site;...
Arulkumar's user avatar
  • 566
1 vote
1 answer
77 views

At the overview page of the Stack Exchange network, one can see a list of all sites of the network with some statistics for each site (number of questions, answers etc.). Most of these statistics can ...
petzi's user avatar
  • 113
1 vote
1 answer
79 views

I saw the question object has a is_answered field. I mentioned that there're the following cases: The is_answered field is true, and the question has an accepted answer. The is_answered field is true,...
Bite's user avatar
  • 125
1 vote
1 answer
67 views

When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
foobarbecue's user avatar
1 vote
1 answer
145 views

Here is the query RESULT { "items": [ { "badge_counts": { "bronze": 2, "silver": 1, "gold": 0 }, ...
Nerzid's user avatar
  • 145
1 vote
1 answer
105 views

The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
kriegaex's user avatar
  • 121
1 vote
1 answer
119 views

Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
amit jha's user avatar
  • 834
1 vote
1 answer
2k views

I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working. I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
Skyyy's user avatar
  • 111
1 vote
1 answer
154 views

How can I make about 10k requests on https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow using python program in a day. Where J is variable and ...
Manish Bhanu's user avatar
1 vote
1 answer
204 views

Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app). Is it possible to get that number increased?
Anton's user avatar
  • 19
1 vote
1 answer
661 views

I want to use the API to get the sum of all scores of my answers to questions having a specific tag. I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
RobSiklos's user avatar
  • 113
1 vote
1 answer
99 views

Is there a way to get all sites of type main_site from the /site method? If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
estebane97's user avatar
1 vote
1 answer
159 views

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
Bob Walsh's user avatar
  • 113
1 vote
1 answer
65 views

The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all. Is there some sort of workaround to find the link for a ...
pxq's user avatar
  • 115
1 vote
1 answer
108 views

I'm making an authenticated call to /me: https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted] But it's returning: {"error_id":500,"error_name":"...
Michael Waterfall's user avatar

1
6 7
8
9 10