Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions relating to version 2.2 of the Stack Exchange API.
1
vote
Accepted
How to get all tags' descriptions from the Stack Exchange API directly?
Yes, you're already doing the right thing by batching the requests to minimize the number of API calls (just group them in groups of 30 or so) but you're still limited to 300 requests per day, as per …
10
votes
Accepted
Why has my daily quota increased from 10k to 2 billion?
After re-investigating my code, I realized what was going on here. For this particular project I wasn't using the API key and access token of my own application; I'm using the ones I sniffed from the …
2
votes
Accepted
Unable to make API calls using access_token for private Stack Overflow Teams site
In this URL: https://api.stackexchange.com/2.2/questions/unanswered/?team_url=stackoverflow.com%2fc%2ffoosite&site=stackoverflow&key=u9eRD30bklGv9t9gzDRSAQ(( you're passing a team_url parameter. That' …
4
votes
Accepted
StackExchange API, OAuth for other sites than Stack Overflow
You already have the correct URL. The access token is valid for all sites, even those for which you don't have an account. The documentation explains how to switch to a different site than Stack Overf …
1
vote
Accepted
Discrepancy in results size
I can reproduce (sort of):
Search on the main site: 1,449 results
Searching with the API: 857 results
I use a different filter which shows the total number of results at the bottom, but that doesn' …
2
votes
Accepted
Wrong results for fetch timeline from offset
It looks like a bug in the API. It looks like it filters on the creation date of the question, not the timeline events themselves. The question has a timestamp of 1596793060, and using a fromdate of 1 …
1
vote
Stack Exchange API - Get Watched Tags for a User
No, this information is not exposed via the API (and it's not available in SEDE either). At the moment, your best bet is probably to scrape the tag notifications page, though this only works for your …
3
votes
Can I fetch Stack Overflow users by location in Stack Exchange API
It's not possible (short of fetching all users and filtering yourself). The API simply does not offer that query. For alternatives, see the Data Explorer (SEDE): https://meta.stackexchange.com/q/25372 …
0
votes
Accepted
Why and how to make use of API key and credentials Stack Overflow API?
From the registration page:
Why Register?
Because it's the neighborly thing to do. We like to know who is using our API, and how, so we can have the metrics we need to support your application and im …
1
vote
Bugs in API 2.2 "/search/advanced" with a "q" parameter
There's indeed no difference between order=asc and order=desc; perhaps this is a limitation of Elasticsearch which powers the Stack Exchange search engine (both the API and on the sites). To be fair, …
1
vote
Accepted
How can I use an iOS custom URL scheme as redirect_uri?
It is indeed possible to use custom URL schemes for authentication in an iOS app. Here are the steps I took:
Choose an arbitrary domain, like stackexchange.com, for the OAuth domain in your Stack App …
1
vote
Accepted
Can I get the question id in the inbox route?
You can – sometimes. The default filter contains a question_id field, and according to the examples for the inbox_item type (you have to scroll down a bit) it is filled in some situations. I just test …
1
vote
Please provide a way to download SEDE data via an API
This is not an official API, but it is not too hard to simulate the login via OAuth2 and use the session to start executing a query, poll the job that executes it and retrieve the results in the end. …
2
votes
How to update tags without modifying question body?
You can't just edit the tags via the API, you have to set the body as well. For that, you need the Markdown (the body_markdown field in the filter) instead of the HTML:
1
vote
Accepted
Why am I getting a 400 Bad Request error with this code?
An access_token is not enough; you need to specify a value for key as well. You can find it in the entry for your app here, this is how it looks like for one of mine:
I'm not sure how it works in Jav …