Can I retrieve the questions and answers based on the user ID?

936 viewsIssues
0

I need to retrieve the questions and answers associated with a user when the user id is provided. Is there an API available for this?

Answered question
0


Yes, you can use the Stack Exchange API:

  • For questions: GET /users/{ids}/questions?site=stackoverflow
  • For answers: GET /users/{ids}/answers?site=stackoverflow

Just replace {ids} with the user ID and specify the site.

Answered question
You are viewing 1 out of 3 answers, click here to view all answers.