API: How to get blocked contacts?

Hello - Using the API to get a character’s contacts, one of the documented fields is “is_blocked” (true/false). However, when I get a character’s contacts, I don’t get any of their blocked contacts. One of my characters has 361 contacts, of which 332 are blocked (because Jita, of course). However, when I fetch that character’s contacts via the API, I get only the 29 non-blocked contacts (all of which have the field “is_blocked”: false).

The way I’m reading the API docs, all of the character’s contacts should come over including the ones that are blocked. Is there another endpoint or a query parameter I need to send to get all of my characters’ contacts including blocked ones?

Thank you

1 Like

Perhaps you need to check additional pages of results?

1 Like

Thanks for the suggestion, but I already handle that. The character I refer to with the 361 total contacts (332 blocked, 29 non-blocked) only comes back with the 1 page of 29 non-blocked contacts. I appreciate the tip though.

When I call, it works for me ?

I receive all the contacts, and some have is_blocked set to true.

I have figured out that the only ones that have is_blocked set to true are ones that you have added as a contact with a standing and then blocked them. If you block a character without adding them as a contact, you will not see that blocked character when you fetch your contacts.

So, the question is, is there any way to get a list of the characters you have blocked via the API? Doesn’t seem to be the case. :frowning:

interesting.
submit a bug ?

(search before)

1 Like

Thanks - that was a good idea. I found the open issue here:

It’s more than a 7 1/2-year old request, but about 3 months ago someone removed the in-backlog label so hopefully that’s an encouraging sign… (?) :slight_smile:

Backlog means it’s to be done.
removing it means it’s not to be done.

That being said, this issue is not about a bug but about a feature request.
It is about EVE Swagger Interface missing the attribute “blocked”.

Right but this issue, to expose blocked characters in the ESI, was marked as a duplicate of the one above.

yes, both are about updating the contacts.
While yours is about retrieving the blocked people who are not added as contacts.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.