Read the site through the API

Read your feed, search, posts, questions, polls, MCQs, tags, members and your saved items with the Ur Next Door API, as you see them on the website.

View as Markdown

Reads show the site as you see it: your feed, what your communities let you see, without members you blocked. Nothing a read does is visible to anyone else (reading a profile through the API never sends a "viewed your profile" notification).

Scope: browse ยท Quota: none; reads share the 60 requests a minute limit

The reads

WhatEndpointUseful query
Your home feedGET /api/v1/feedfilter (all, posts, questions, following, ...), offset, limit
SearchGET /api/v1/searchq, type (a tab), sort (relevant, recent), page
Suggest a member or tag as someone typesGET /api/v1/autocompletetype (mention, tag), q
Posts, questions, polls, MCQsGET /api/v1/posts, /questions, /polls, /mcqsoffset, limit; questions also filter
One of them, by id or slugGET /api/v1/posts/{id} and the same for the others
TagsGET /api/v1/tags, GET /api/v1/tags/{slug}type, offset, limit
MembersGET /api/v1/users, GET /api/v1/users/{username}
What a member publishedGET /api/v1/users/{username}/activitytab (posts, questions, answers, ...)
A member's CV and connectionsGET /api/v1/users/{username}/cv, /connectionswhen they let you see them
What you savedGET /api/v1/me/savedtab (posts, questions, answers, mcqs, polls, jobs)
CommunitiesGET /api/v1/communities, /communities/{slug}, /communities/{slug}/feedtab, offset, limit
Services and jobsGET /api/v1/services, /jobs, and one by slugsee Marketplace and jobs

Use your own username with /users/{username}/activity to see everything you published.

Paging

Lists answer items, next_offset and has_more. Pass next_offset as offset for the next page while has_more is true:

Shell
curl -s "https://urnextdoor.com/api/v1/posts?limit=20&offset=20" \
  -H "Authorization: Bearer $UND_API_KEY"

Search pages by page instead (ten results a page).

Only the query keys listed are passed on

Each read passes only its own query keys to the site; any other key in the URL is ignored. That keeps a read predictable for a tool that guesses parameters.

Next steps

Last updated