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
4 votes
0 answers
99 views

API v1.1 users call returns association_id for which the Stack Exchange web site has no profile

For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
Isaac's user avatar
  • 665
4 votes
0 answers
76 views

Add a special page where developers can reset throttle timeouts

As George Edison noted, it would be useful to have a special page where developers can reset the throttle timeout when we accidentally trigger it. This happened to me this morning — I got banned for ...
Mathias Bynens's user avatar
4 votes
0 answers
289 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
Crashthatch's user avatar
4 votes
0 answers
254 views

PyOverflow: Account statistics for Stack Overflow for Ubuntu!

I was bored, and I wanted to play with the API, so I came up with this little script: It's coded in Python and has only a single image dependency. Here is a screenshot: Here's the source code (it's ...
Blender's user avatar
  • 141
3 votes
1 answer
2k views

How to get Question/Answer body in the API response using filters?

I am specifically looking to get the question/answer body back. Is it possible? I am looking through the API documentation and I'm confused about how to make a call with filters. Sample call I'm ...
Shyju's user avatar
  • 133
3 votes
2 answers
680 views

Silverlight download JSON from API fails

I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish. Here is my code: public void ...
Mark's user avatar
  • 163
3 votes
2 answers
449 views

What is the correct way to get the stackoverflow.com URL for an answer via the API?

A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
mikej's user avatar
  • 185
3 votes
1 answer
58 views

Possible to return newest questions with a certain tag?

I am not finding a way to return a list of new questions by tag with the new Stack Exchange API. Am I missing something or is this not available? If this is not available, I most certainly request ...
swaggler's user avatar
  • 133
3 votes
2 answers
258 views

Is there an api to post questions without using the websites interface?

I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
tsudot's user avatar
  • 133
3 votes
1 answer
82 views

503 errors on batch get questions endpoint

I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
Vladyslav Usenko's user avatar
3 votes
1 answer
59 views

Some blank properties missing

I am using /me/associated. I haven't posted any question in one account, so the response comes as: "top_questions": [], "top_answers": [], "question_count": 0, "answer_count": 0, in the same browser ...
amit jha's user avatar
  • 842
3 votes
1 answer
146 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
Tim's user avatar
  • 581
3 votes
1 answer
980 views

How can I extract user information on Stack Overflow using Python and the Stack Overflow API?

I am new to Python. I want to extract a user bio, answers, questions they made in Stack Overflow. Can I do that using the API? For example, can I extract the user: name bio and number of questions ...
Mohan Krishna's user avatar
3 votes
1 answer
169 views

How to access my App info

I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again. I've search through profile, at stackexchange.com but couldn't find it.
Caio Cunha's user avatar
3 votes
1 answer
164 views

Has anyone *implemented* the Stack Exchange API on top of a public database dump?

It seems that the public database dumps contain nearly all of the data required to respond to API queries. Has anyone implemented the API, backed by a copy of the public database dump? It would be ...
Kim Morrison's user avatar
3 votes
1 answer
320 views

API Time zone difference problem

I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
Seth Carnegie's user avatar
3 votes
1 answer
80 views

Throttling Question

Hey all, I keep getting kicked out of the API. Is throttling set to 30 requests per 5 seconds? j
johnmcauley's user avatar
3 votes
1 answer
78 views

How many ids is 'too many'?

This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere. Now, I could run binary search and find out, but I ...
Nikita Rybak's user avatar
  • 1,271
3 votes
1 answer
178 views

Getting Question data using stack.PHP fails after a certain number of requests

I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer. I am running into an issue where I'm sending too many requests and ...
jondavidjohn's user avatar
3 votes
1 answer
48 views

Differentiate Staging Ground posts from regular questions

Version 2.3 of the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it ...
Anerdw's user avatar
  • 133
3 votes
1 answer
51 views

How do I search answer bodies for Markdown links?

The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
tony19's user avatar
  • 133
3 votes
1 answer
93 views

When using the Advanced Search API endpoint, how soon after the edit grace period is question data updated?

I'm using the Questions Advanced Search API to retrieve Stack Overflow questions with a specific tag that were created in the last 15 minutes. I've written a script which runs every fifteen minutes ...
Adil B's user avatar
  • 133
3 votes
1 answer
72 views

How to get the user's pinned sites?

I have been trying to find the API for getting all the pinned/favorite sites of the user, but I can't.
user13414590's user avatar
3 votes
1 answer
108 views

How to query the Stack Exchange API using an OR operator?

I want to query Stack Exchange by title including optional keywords (one of). How can I query by OR operator? For example: /search/advanced?page=1&tagged=java&q=title:http OR class&...
user3712353's user avatar
3 votes
1 answer
104 views

Cannot get redirect_uri to work

This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
Gaurang Tandon's user avatar
3 votes
1 answer
100 views

Why do you need to specify a site when getting the inbox?

I'm getting a user's inbox via /me/inbox. I am forced to specify a site with this, so I'm setting it to Stack Overflow. However, it still gets all my notifications, including those from other sites. ...
RareNCool's user avatar
  • 201
3 votes
1 answer
56 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
David Ebbo's user avatar
3 votes
1 answer
34 views

Top answers for a tag is returning user details?

I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow
shams's user avatar
  • 133
3 votes
1 answer
124 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
Jack Sprat's user avatar
3 votes
1 answer
110 views

Question's body rendering in Android's webview

I've developed an app that get questions from Stack using REST APIs and shows them in a WebView. My problem now is that the body often contains placeholders that must be "replaced" with the real ...
motoDrizzt's user avatar
3 votes
1 answer
76 views

Can I retrieve the API interfaces via the API?

I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it? This isn't just for curiosity's ...
Sean Allred's user avatar
3 votes
1 answer
38 views

Querying "standard meta tags" for their tag wikis wrongly says they have none

I'm checking which tags have tag wiki excerpts in my code. It looks like /tags/{tags}/wikis is the right API since the tag info API doesn't even give a boolean for tag wiki excerpt presence. But ...
hippietrail's user avatar
3 votes
1 answer
80 views

Is there an API to fetch tags related to a given tag?

I'm interested in making a tool that explores the tags of a site for tags which should be merged or mention each other in tag wikis etc. On the page of any given tag there is a column on the right of ...
hippietrail's user avatar
3 votes
1 answer
126 views

List of possible values for user_type on API for users

I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" ...
Chris Dellinger's user avatar
3 votes
1 answer
317 views

Do I need permission to use the SE API for a commercial app?

I recently developed a mobile app using the publicly available API of one of the Stack Exchange sites. Do I need to obtain permission from Stack Exchange before releasing the app to the public? Can I ...
bp581's user avatar
  • 133
3 votes
2 answers
335 views

What am I allowed/not permitted to do with the API?

I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
makerofthings7's user avatar
3 votes
1 answer
90 views

Getting the ID of the question-asker when fetching new answers from the API

I am fetching a list of all new answers posted on Stack Overflow using the /answers API call. This returns the owner of the answer, but I would like to know if the answerer is the same person as the ...
Dharman's user avatar
  • 503
3 votes
1 answer
73 views

How can I get user links in the API call like Twitter, GitHub and so on?

I'm trying to get the user's user links from his profile. Like this person has GitHub and Twitter links on his profile. How can I get those?
Nerzid's user avatar
  • 145
3 votes
1 answer
56 views

How do I get the total number of records for a given search?

I want to use the Stack Exchange API and get the total number of results returned from the search route. I wrote this recursive script to find the last page with the has_more=False, is there a better ...
Uri Goren's user avatar
  • 133
3 votes
1 answer
328 views

Same access token between different fetch_token requests

TL;DR: Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same? Scenario: An anonymous user authenticates with Stack ...
Jivan's user avatar
  • 141
3 votes
1 answer
72 views

How to get the 10 most recent questions with accepted answers based on a given tag?

I am trying to figure out how to get the 10 most recent questions from the Stack Overflow site, that have been answered, based on a given tag (such as 'Java'). I looked at the documentation but I ...
Locke's user avatar
  • 133
3 votes
1 answer
201 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
Jason Li's user avatar
3 votes
1 answer
142 views

Questions with specific tag and specific text inside questions

So I am able to get questions with specific tags, but still not able to get questions which have specific text and a specific tag. For example if I want to get all the questions with text "api" in ...
user34257's user avatar
  • 185
3 votes
1 answer
54 views

How can I access all questions asked by an arbitrary user?

Within the web app for courses I organize, I'd like students to be able to provide their Stack Overflow username, so that we can pull in their most recent and unanswered questions. This information is ...
Chris Fritz's user avatar
3 votes
1 answer
3k views

Searching on Stack Overflow and using the API give different results?

I am trying to use the Stack Exchange API to see the trends on different topics. Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
nohorbee's user avatar
3 votes
1 answer
120 views

top-answerers / top-askers documentation bug: number of results returned incorrect

The top-answerers-on-tags and top-askers-on-tags documentation claim: Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days. and Returns the top 30 askers ...
Martijn Pieters's user avatar
3 votes
1 answer
147 views

CodeTipper - Easily reward quality content with BitCoin, DogeCoin and LiteCoin tips!

CodeTipper https://codetipper.com About CodeTipper provides an easy way for you to express your appreciation for the quality advice, and expert assistance that Stack Exchange users provide everyday ...
CodeTipper's user avatar
3 votes
1 answer
373 views

Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard

I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
Wu-Man's user avatar
  • 131
3 votes
1 answer
56 views

Typo in API docs: "temporarility_unavailable"

https://api.stackexchange.com/docs/authentication "temporarility" should probably be "temporarily"
David Murdoch's user avatar
3 votes
1 answer
81 views

API search page size limit mismatch

The 1.1 API help text for search says that the pagesize parameter can go up to 100. Indeed, passing a value up to 100 returns some results, while passing pagesize=101 yields an HTTP 400 status (Bad ...
Gilles 'SO- stop being evil''s user avatar

1 2 3
4
5
10