Pigmeat

Weekly and monthly prices of different categories and qualities of pig meat as well as piglet prices per Member State and for the whole of the Union. Monthly volumes in case of pigmeat production. More information can be found on the Info tab of the portal’s pigmeat carcasses prices app, piglet prices app, pigmeat cuts prices app and pigmeat production app.

Request parameters

Parameter Optional Description

memberStateCodes

true

The optional codes of the EU Member States.

pigClasses

true

The optional class(es) of the pigmeat are S, E, R, SE or/and Piglet and they must be comma-separated.

marketingYears

true

The optional year(s) to search for pigmeat.

months

true

The optional month(s) to search for pigmeat.

weeks

true

The optional week(s) of a year to search for pigmeat. The first week of January is number 1.

beginDate

true

The optional date interval start to search for pigmeat prices.

endDate

true

The optional date interval end to search for pigmeat prices.

Example of a request

GET /api/pigmeat/prices?memberStateCodes=PT,SI&pigClasses=S,E&beginDate=22/01/2019&endDate=22/04/2020 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with pigmeat prices

[].memberStateCode

String

The code of the EU Member State.

[].memberStateName

String

The name of the EU Member State.

[].beginDate

String

The valid start date period of the pigmeat price.

[].endDate

String

The valid end date period of the pigmeat price.

[].weekNumber

Number

The week number of the year.

[].pigClass

String

The class of the pigmeat.

[].unit

String

The unit of the pigmeat.

[].price

String

The price of the pigmeat.

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 223

[ {
  "memberStateCode" : "PT",
  "memberStateName" : "Portugal",
  "beginDate" : "23/03/2020",
  "endDate" : "30/04/2020",
  "weekNumber" : 5,
  "price" : "€18.17",
  "unit" : "100 KG",
  "pigClass" : "Average S + E"
} ]

Request parameters

Parameter Optional Description

memberStateCodes

true

The optional codes of the EU Member States.

categories

true

The optional category(ies) of the pigmeat cuts prices. They must be comma-separated.

priceTypes

true

The optional price type(s) of the pigmeat cuts prices. They must be comma-separated.

marketingYears

true

The optional year(s) to search for pigmeat cuts.

months

true

The optional month(s) to search for pigmeat cuts.

weeks

true

The optional week(s) of a year to search for pigmeat cuts. The first week of January is number 1.

beginDate

true

The optional date interval start to search for pigmeat cuts prices.

endDate

true

The optional date interval end to search for pigmeat cuts prices.

Example of a request

GET /api/pigmeat/cuts/prices?memberStateCodes=DK,LT&categories=Ham,Minced%20Meat&priceTypes=Selling%20price&beginDate=24/01/2022&endDate=30/01/2022 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with pigmeat cuts prices

[].memberStateCode

String

The code of the EU Member State.

[].memberStateName

String

The name of the EU Member State.

[].beginDate

String

The valid start date period of the pigmeat cuts price.

[].endDate

String

The valid end date period of the pigmeat cuts price.

[].weekNumber

Number

The week number of the year.

[].category

String

The category of the pigmeat cuts.

[].priceType

String

The price type of the pigmeat cuts.

[].unit

String

The unit of the pigmeat cuts.

[].price

String

The price of the pigmeat cuts.

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 246

[ {
  "memberStateCode" : "DK",
  "memberStateName" : "Denmark",
  "beginDate" : "24/01/2022",
  "endDate" : "30/01/2022",
  "weekNumber" : 4,
  "price" : "€118.23",
  "unit" : "100 KG",
  "category" : "Ham",
  "priceType" : "Selling price"
} ]

Pigmeat cuts categories

Example of a request

GET /api/pigmeat/cuts/categories HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with all pigmeat cuts categories

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 53

[ "Belly", "Ham", "Loin", "Minced Meat", "Shoulder" ]

Pigmeat cuts price types

Example of a request

GET /api/pigmeat/cuts/priceTypes HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with all pigmeat cuts price types

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 69

[ "Selling Price", "Retail buying price", "Non-retail buying price" ]

Request parameters

Parameter Optional Description

memberStateCodes

true

The optional codes of the EU Member States.

categories

true

The optional category(ies) of the pigmeat cuts monthly prices. They must be comma-separated.

priceTypes

true

The optional price type(s) of the pigmeat cuts monthly prices. They must be comma-separated.

marketingYears

true

The optional year(s) to search for pigmeat cuts monthly prices.

months

true

The optional month(s) to search for pigmeat cuts monthly prices.

beginDate

true

The optional date interval start to search for pigmeat cuts monthly prices.

endDate

true

The optional date interval end to search for pigmeat cuts monthly prices.

Example of a request

GET /api/pigmeat/cuts/prices/month?memberStateCodes=DK,LT&categories=Minced%20Meat&priceTypes=Selling%20price&marketingYears=2022&months=1 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with pigmeat cuts monthly prices

[].memberStateCode

String

The code of the EU Member State.

[].memberStateName

String

The name of the EU Member State.

[].beginDate

String

The valid start date period of the pigmeat cuts monthly price.

[].endDate

String

The valid end date period of the pigmeat cuts monthly price.

[].marketingYear

Number

The marketing year of the pigmeat cuts monthly price.

[].month

String

The month of the pigmeat cuts monthly price.

[].monthNumber

Number

The month number of the pigmeat cuts monthly price.

[].category

String

The category of the pigmeat cuts monthly price.

[].priceType

String

The price type of the pigmeat cuts monthly price.

[].unit

String

The unit of the pigmeat cuts monthly price.

[].price

String

The price of the pigmeat cuts monthly price.

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 304

[ {
  "memberStateCode" : "DK",
  "memberStateName" : "Denmark",
  "beginDate" : "01/01/2022",
  "endDate" : "31/01/2022",
  "price" : "€118.23",
  "unit" : "100 KG",
  "marketingYear": 2022,
  "monthNumber" : 1,
  "month" : "January",
  "category" : "Minced Meat",
  "priceType" : "Selling price"
} ]

Pigmeat cuts monthly categories

Example of a request

GET /api/pigmeat/cuts/prices/month/categories HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with all pigmeat cuts monthly categories

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 17

[ "Minced Meat" ]

Pigmeat cuts monthly price types

Example of a request

GET /api/pigmeat/cuts/prices/month/priceTypes HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json

Response fields

Path Type Description

[]

Array

Array with all pigmeat cuts monthly price types

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 69

[ "Selling Price", "Retail buying price", "Non-retail buying price" ]

Pigmeat production

Request parameters

Parameter Optional Description

memberStateCodes

true

The optional codes of the EU Member States to search for pigmeat production.

years

true

The optional year(s) to search for pigmeat production.

months

true

The optional month(s) number to search for pigmeat production.

Example of a request

GET /api/pigmeat/production?memberStateCodes=SE&years=2022 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080

Response fields

Path Type Description

[]

Array

Array with pigmeat production

[].memberStateCode

String

The code of the EU Member State.

[].memberStateName

String

The name of the EU Member State.

[].year

Number

The year corresponding to the pigmeat production volume.

[].month

String

The month of the year.

[].tonnes

Number

The number of production volume in 1000 Tonnes.

[].heads

Number

The number of production volume in 1000 Heads.

[].kgPerHead

Number

The number of production volume in Kg/head.

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 178

[ {
  "memberStateCode" : "SE",
  "memberStateName" : "Sweden",
  "year" : 2022,
  "month" : "December",
  "tonnes" : 20.53,
  "heads" : 217.17,
  "kgPerHead" : 94.53
} ]