Query all the available addresses

Hi, I am trying to query all the available addresses with this endpoint
/commonapi/search?searchVal={SearchText}&returnGeom={Y/N}&getAddrDetails={Y/N}&pageNum={PageNumber}

what should I put in the searchVal to obtain all of the addresses?

There’s no way to search all addresses or with any wildcard. Our Search API doesn’t support this kind of usage as we do not want anyone to crawl the information. If you wish to use the data officially with data licensing, please contact your interest at onemap[at]sla.gov.sg

1 Like