# Which play demo url can I use to access the DHIS2 api

**URL:** <https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319>\
**Category:** Support - Assistance technique\
**Created:** [24 January 2025 04:58 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319 "2025-01-24T04:58:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetisco4u](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/jetisco4u/32/39125_2.png) [@jetisco4u](https://community.dhis2.org/u/jetisco4u)\
**Post date:** [24 January 2025 04:58 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/1 "2025-01-24T04:58:14Z")

</div>

I am trying to fetch some data using postman from a url endpoint but it is not working.

Most of the ones I tried were working before but now showing error 404.

I tried say: `https://play.dhis2.org/2.40.6/api/dataSets?fields=*`

---

<div class="post-metadata">

**Author:** ![Shapr0019](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/shapr0019/32/44336_2.png) [@Shapr0019](https://community.dhis2.org/u/Shapr0019)\
**Post date:** [24 January 2025 10:02 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/2 "2025-01-24T10:02:56Z")

</div>

@jetisco4u It seems all the URLs, including [DHIS 2 Demo - Sierra Leone](https://play.dhis2.org/2.40.6/api/dataSets?fields=)\*, are working fine. If you’re still getting a 404 error, try the following:

1. Credentials: Ensure you’re correct credentials

2. Connectivity Check: Test the endpoint /api/system/info to confirm the API is accessible.

3. Postman Settings: Double-check your Postman setup (e.g., headers, authorization) to ensure everything is correct.

---

<div class="post-metadata">

**Author:** ![jetisco4u](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/jetisco4u/32/39125_2.png) [@jetisco4u](https://community.dhis2.org/u/jetisco4u)\
**Post date:** [30 January 2025 16:51 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/3 "2025-01-30T16:51:02Z")

</div>

Well I don’t know why it’s not working for me. I make sure every detail is correct in the Postman setup.

---

<div class="post-metadata">

**Author:** ![Matthew\_Boddie](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/matthew_boddie/32/34043_2.png) [@Matthew\_Boddie](https://community.dhis2.org/u/Matthew_Boddie)\
**Post date:** [31 January 2025 08:59 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/4 "2025-01-31T08:59:04Z")

</div>

> [@jetisco4u](#):
>
> [لوحة المعلومات](https://play.dhis2.org/2.40.6/api/dataSets?fields=)\*

Try [لوحة المعلومات](https://play.im.dhis2.org/stable-2-40-6/api/dataSets?fields=)\*

I also had difficulty with your URL (was just given the login screen despite having basic auth inserted) however after iteration and using the (.im.)default through browser, I was able to see expected results

---

<div class="post-metadata">

**Author:** ![jetisco4u](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/jetisco4u/32/39125_2.png) [@jetisco4u](https://community.dhis2.org/u/jetisco4u)\
**Post date:** [31 January 2025 09:00 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/5 "2025-01-31T09:00:39Z")

</div>

> [@Matthew\_Boddie](#):
>
> after iteration and using the (.im.)default through browser

Sorry can you show the full url with the ‘im’

---

<div class="post-metadata">

**Author:** ![Matthew\_Boddie](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/matthew_boddie/32/34043_2.png) [@Matthew\_Boddie](https://community.dhis2.org/u/Matthew_Boddie)\
**Post date:** [31 January 2025 09:01 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/6 "2025-01-31T09:01:32Z")

</div>

> **[لوحة المعلومات](https://play.im.dhis2.org/stable-2-40-6/api/dataSets?fields=*)**
>
> DHIS 2

Sorry @jetisco4u not sure why its coming up in a different language–the hyperlink though should direct you

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [1 February 2025 07:10 UTC](https://community.dhis2.org/t/which-play-demo-url-can-i-use-to-access-the-dhis2-api/63319/7 "2025-02-01T07:10:10Z")

</div>

Hi @jetisco4u

Like @Matthew_Boddie mentioned, you need to use the URL that the instance is using. If you have used these requests a while ago i.e. ‘[play.dhis2.org/instance](http://play.dhis2.org/instance)’ they might have worked, but there’s a new way that the team is handling these play instances (using an instance manager), so the URL of each instance is not `play.dhis2.org/instance` it’ll be `play.im.dhis2.org/instance`.

Here’s how to get the correct URL:

1. go to [Play.dhis2.org](http://Play.dhis2.org)
2. click on the instance you want to use
3. Check that the URL is the same, it will include the `.im.`

Thanks!
