Cdn Public Collector's Pricing Guide (CPG) API V2

<back to all web services

GetPricingRequest

Pricing

Retrieve pricing data for a collectible.

The following routes are available for this service:
GET/GetPricingRequestGsid or Pcgs Number is required. Grade, MinGrade and MaxGrade are optional. Specify ApiLevel=Advanced for additional collectible information.
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


/**
* Retrieve pricing data for a collectible.
*/
@Api(Description="Retrieve pricing data for a collectible.")
open class GetPricingRequest
{
    open var Gsid:Long? = null
    open var PcgsNumber:String? = null
    open var FrNumber:String? = null
    open var Grade:Int? = null
    open var MinGrade:Int? = null
    open var MaxGrade:Int? = null
    open var ApiLevel:String? = null
}

open class GetPricingResponse : BaseResponse()
{
    open var Data:ArrayList<CdnPricingDataDto>? = null
}

open class BaseResponse
{
    open var Total:Int? = null
    open var OpCode:Int? = null
    open var ErrorText:String? = null
    open var RequestTime:String? = null
    open var ResponseTime:String? = null
    open var TotalExecutionTime:String? = null
    open var CachedResponse:Boolean? = null
    open var PermitAccess:Boolean? = null
    open var AccessDeniedMessage:String? = null
}

open class CdnPricingDataDto
{
    open var GsId:Long? = null
    open var Name:String? = null
    open var SortingPosition:Int? = null
    open var IsType:Boolean? = null
    open var IsSet:Boolean? = null
    open var UiParentId:Long? = null
    open var PricingData:ArrayList<CdnPricingItemDto>? = null
}

open class CdnPricingItemDto
{
    open var Grade:Int? = null
    open var GradeLabel:String? = null
    open var IsCac:Boolean? = null
    open var CpgVal:String? = null
    open var GreyVal:String? = null
    open var PcgsVal:String? = null
    open var NgcVal:String? = null
    open var BlueBookVal:String? = null
}

Kotlin GetPricingRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /GetPricingRequest HTTP/1.1 
Host: cpgpublicapiv2dev.greysheet.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Data":[{"GsId":0,"Name":"String","SortingPosition":0,"IsType":false,"IsSet":false,"UiParentId":0,"PricingData":[{"Grade":0,"GradeLabel":"String","IsCac":false,"CpgVal":"String","GreyVal":"String","PcgsVal":"String","NgcVal":"String","BlueBookVal":"String"}]}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false,"PermitAccess":false,"AccessDeniedMessage":"String"}