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

1.17K 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: aessuccess org

  • 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.

Edited answer
0

Escape Road does something similar when tracking player progress through its API—you can fetch a player’s checkpoints, escape attempts, and even the choices they made in dialogue trees. It’s a neat real-world parallel if you’re designing your own Q&A system!

Answered question
0

For retrieving questions and answers associated with a specific user ID, you can use the Stack Exchange API, which is well-documented Golf Hit and supports this functionality.

Answered question