# BC Gov News API Service 1.0 API

> BC Gov News API Service 1.0 API on Apizie: 27 endpoints (Get a Facebook post based on a Uri, Returns the top level content for the home page, Get all ministries, Get the Ministry associated with the ministry key, …) returned as clean JSON through one API key. 27 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:gov-bc-ca-news`
- Category: Open Data
- Status: live
- Source: https://gov.bc.ca
- Page: https://zieapi.vercel.app/api/open-data/gov-bc-ca-news
- OpenAPI: https://zieapi.vercel.app/api/open-data/gov-bc-ca-news/openapi.json

News API

## Endpoints

### Get a Facebook post based on a Uri
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/facebook-posts-get-by-uri`

| Parameter | Type | Required | Description |
|---|---|---|---|
| uri | string | no |  |
| api-version | string | no | The requested API version |

### Returns the top level content for the home page
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/home-get`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get all ministries
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/ministries-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the Ministry associated with the ministry key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/ministries-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

### Get the Minister associated with the ministry key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/ministries-get-minister`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

### Get all newsletters
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/newsletters-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the image object reference by of a Newsletter Edition associated with the image guid
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/newsletters-get-image`

| Parameter | Type | Required | Description |
|---|---|---|---|
| guid | string | yes |  |
| api-version | string | no | The requested API version |

### Get a specific newsletter
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/newsletters-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| newsletterKey | string | yes |  |
| api-version | string | no | The requested API version |

### Returns a specific edition of a newsletter
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/newsletters-get-edition`

| Parameter | Type | Required | Description |
|---|---|---|---|
| newsletterKey | string | yes |  |
| editionKey | string | yes |  |
| api-version | string | no | The requested API version |

### Get an article belonging to a Newsletter edition
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/newsletters-get-article`

| Parameter | Type | Required | Description |
|---|---|---|---|
| newsletterKey | string | yes |  |
| editionKey | string | yes |  |
| articleKey | string | yes |  |
| api-version | string | no | The requested API version |

### Get the posts associated with the keys in the list passed in.
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/posts-get`

| Parameter | Type | Required | Description |
|---|---|---|---|
| postKeys | array | no |  |
| api-version | string | no | The requested API version |

### Get all keys for the specified index (newsroom or category)
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/posts-get-all-keys`

| Parameter | Type | Required | Description |
|---|---|---|---|
| indexKind | string | yes | home or one of categories |
| indexKey | string | yes | default or one key of the categories (ministries, sectors, services, tags, themes) |
| postKind | string | no | One of: releases, stories, factsheets, updates or default (releases+stories+factsheets) |
| count | integer | no | number of posts to return |
| skip | integer | no | number of posts to skip |
| api-version | string | no | The requested API version |

### Get the post key associated with the reference.
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/posts-get-key-from-reference`

| Parameter | Type | Required | Description |
|---|---|---|---|
| reference | string | yes |  |
| api-version | string | no | The requested API version |

### Get the latest posts of postKind for the specified index (default or category)
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/posts-get-latest`

| Parameter | Type | Required | Description |
|---|---|---|---|
| indexKind | string | yes | home or one of categories |
| indexKey | string | yes | default or one key of the categories (ministries, sectors, services, tags, themes) |
| postKind | string | no | One of: releases, stories, factsheets, updates or default (releases+stories except top/feature) |
| count | integer | no | number of posts to return |
| skip | integer | no | number of posts to skip |
| api-version | string | no | The requested API version |

### Gets the latest Social Media post for the social media type passed in.
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/posts-get-latest-media-uri`

| Parameter | Type | Required | Description |
|---|---|---|---|
| mediaType | string | yes |  |
| api-version | string | no | The requested API version |

### Get the post associated with the key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/posts-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

### Get all resource links
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/resource-links-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get all Sectors
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/sectors-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the sector associated with the key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/sectors-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

### Get all Services
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/services-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the service associated with the passed key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/services-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

### Get all Slides
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/slides-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the slide associated to the id
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/slides-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| api-version | string | no | The requested API version |

### Get all Tags
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/tags-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the Tag associated with the key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/tags-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

### Get all Themes
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/themes-get-all`

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The requested API version |

### Get the Theme associated with the key
`GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/themes-get-one`

| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | yes |  |
| api-version | string | no | The requested API version |

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/facebook-posts-get-by-uri" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the BC Gov News API Service 1.0 API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:gov-bc-ca-news/facebook-posts-get-by-uri with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the BC Gov News API Service 1.0 API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the BC Gov News API Service 1.0 API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:gov-bc-ca-news.

### What is the status of the BC Gov News API Service 1.0 API?
Live: works with just an Apizie key
