Can anyone let me know how can i get specific organization information by organization name instead of organization ID

62 views
Skip to first unread message

Rajan P

unread,
Aug 22, 2023, 9:22:01 AM8/22/23
to apidev
for an example

https://api.rescuegroups.org/v5/public/orgs?limit=2

{
    "meta": {
        "count"3875,
        "countReturned"2,
        "pageReturned"1,
        "limit"2,
        "pages"1938,
        "transactionId""IIlXOiQHpdHJ"
    },
    "data": [
        {
            "type""orgs",
            "id""12",
            "attributes": {
                "name""Cat Rescue of Maryland, Inc.",
                "city""Baltimore",
                "state""MD",
                "postalcode""21228",
                "postalcodePlus4""3915",
                "country""United States",
                "email""catres...@mindspring.com",
                "url""http://www.catrescueofmd.org",
                "facebookUrl""None",
                "type""Rescue",
                "isCommonapplicationAccepted"false,
                "lat"39.26750183105469,
                "lon"-76.74459838867188,
                "coordinates""39.2675, -76.7446",
                "citystate""Catonsville, MD"
            }
        },
        {
            "type""orgs",
            "id""13",
            "attributes": {
                "name""Prince Georges Feral Friends, SPCA, Inc.",
                "street""P.O. Box 1036",
                "city""Bowie",
                "state""MD",
                "postalcode""20718",
                "country""United States",
                "phone""(301) 262-6452",
                "url""http://www.pgferals.org",
                "facebookUrl""https://www.facebook.com/pgferals",
                "serveAreas""Prince George's County, Maryland",
                "type""Shelter",
                "isCommonapplicationAccepted"false,
                "lat"39.00640106201172,
                "lon"-76.77950286865234,
                "coordinates""39.0064, -76.7795",
                "citystate""Bowie, MD"
            }
        }
    ]
} Below is the response of organization listing API but i want Specific organization detail By Organization name so how can i achieve this functionality what to to can you please give me an example?
Like i need a only "Prince Georges Feral Friends, SPCA, Inc." name organization details by name so how can i get can you please explain?

Richard Saffell

unread,
Aug 26, 2023, 2:23:33 PM8/26/23
to apidev, raj...@moontechnolabs.com
Rajan,

You can search by organization name by using the advanced filters. You would use the search endpoint such as: /public/orgs/search


Richard

On Tuesday, August 22, 2023 at 9:22:01 AM UTC-4 raj...@moontechnolabs.com wrote:
{
    "meta": {
        "count"3875,
        "countReturned"2,
        "pageReturned"1,
        "limit"2,
        "pages"1938,
        "transactionId""IIlXOiQHpdHJ"
    },
    "data": [
        {
            "type""orgs",
            "id""12",
            "attributes": {
                "name""Cat Rescue of Maryland, Inc.",
                "city""Baltimore",
                "state""MD",
                "postalcode""21228",
                "postalcodePlus4""3915",
                "country""United States",
                "email""catrescu...@mindspring.com",
Reply all
Reply to author
Forward
0 new messages